diff --git a/benchmark/package.json b/benchmark/package.json index 63e71a9a1b..db68d6d0d4 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -72,6 +72,6 @@ "suppress-warnings": "^1.0.2", "tstl": "^3.0.0", "uuid": "^9.0.1", - "typia": "../typia-7.0.0-dev.20241123.tgz" + "typia": "../typia-7.0.0-dev.20241124.tgz" } } \ No newline at end of file diff --git a/package.json b/package.json index 906c5caf3f..3700ca72dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typia", - "version": "7.0.0-dev.20241123", + "version": "7.0.0-dev.20241124", "description": "Superfast runtime validators with only one line", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -42,7 +42,7 @@ }, "homepage": "https://typia.io", "dependencies": { - "@samchon/openapi": "^2.0.0-dev.20241123-3", + "@samchon/openapi": "^2.0.0-dev.20241124", "commander": "^10.0.0", "comment-json": "^4.2.3", "inquirer": "^8.2.5", diff --git a/packages/typescript-json/package.json b/packages/typescript-json/package.json index 65d373e304..b179f91a44 100644 --- a/packages/typescript-json/package.json +++ b/packages/typescript-json/package.json @@ -1,6 +1,6 @@ { "name": "typescript-json", - "version": "7.0.0-dev.20241123", + "version": "7.0.0-dev.20241124", "description": "Superfast runtime validators with only one line", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -38,7 +38,7 @@ }, "homepage": "https://typia.io", "dependencies": { - "typia": "7.0.0-dev.20241123" + "typia": "7.0.0-dev.20241124" }, "peerDependencies": { "typescript": ">=4.8.0 <5.7.0" diff --git a/src/internal/_llmApplicationFinalize.ts b/src/internal/_llmApplicationFinalize.ts index 3ff8c2539c..3f1737ecab 100644 --- a/src/internal/_llmApplicationFinalize.ts +++ b/src/internal/_llmApplicationFinalize.ts @@ -3,36 +3,20 @@ import { HttpLlmConverter } from "@samchon/openapi/lib/converters/HttpLlmConvert export const _llmApplicationFinalize = ( app: ILlmApplication, - options?: Partial>, + options?: Partial, "separate">>, ): void => { - app.options = ( - isChatGptOptions(app, options) - ? ({ - separate: options?.separate ?? null, - reference: options?.reference ?? false, - constraint: options?.constraint ?? false, - } satisfies ILlmApplication.IOptions<"chatgpt">) - : ({ - separate: (options?.separate ?? - null) as ILlmApplication.ICommonOptions< - Exclude - >["separate"], - recursive: - (options as ILlmApplication.IOptions<"3.0"> | undefined) - ?.recursive ?? 3, - } satisfies ILlmApplication.ICommonOptions>) - ) as ILlmApplication.IOptions; + app.options = { + separate: options?.separate ?? null, + constraint: false, + recursive: 3, + reference: false, + }; if (app.options.separate === null) return; for (const func of app.functions) - func.separated = HttpLlmConverter.separateParameters({ + func.separated = HttpLlmConverter.separate({ model: app.model, parameters: func.parameters, predicate: app.options .separate as ILlmApplication.IOptions["separate"] as any, }); }; - -const isChatGptOptions = ( - app: ILlmApplication, - _options: unknown, -): _options is ILlmApplication.IOptions<"chatgpt"> => app.model === "chatgpt"; diff --git a/src/llm.ts b/src/llm.ts index 0a99cd04b5..4e73f5d8cd 100644 --- a/src/llm.ts +++ b/src/llm.ts @@ -1,4 +1,4 @@ -import { IChatGptSchema, ILlmApplication } from "@samchon/openapi"; +import { ILlmApplication } from "@samchon/openapi"; /** * > You must configure the generic argument `App`. @@ -84,7 +84,7 @@ export function application< App extends object, Model extends ILlmApplication.Model, >( - options?: Partial, "recursive">>, + options?: Partial, "separate">>, ): ILlmApplication; /** @@ -94,6 +94,70 @@ export function application(): never { halt("application"); } +/** + * > You must configure the generic argument `Parameters`. + * + * TypeScript parameters to LLM parameters schema. + * + * Creates an LLM (Large Language Model) parameters schema, a type metadata that is used in the + * [LLM function calling](https://platform.openai.com/docs/guides/function-calling) + * and [LLM structured outputs](https://platform.openai.com/docs/guides/structured-outputs), + * from a TypeScript parameters type. + * + * For references, LLM identifies only keyworded arguments, not positional arguments. + * Therefore, the TypeScript parameters type must be an object type, and its properties + * must be static. If dynamic properties are, it would be compilation error. + * + * Also, such parameters type can be utilized not only for the LLM function calling, + * but also for the LLM structured outputs. The LLM structured outputs is a feature + * that LLM (Large Language Model) can generate a structured output, not only a plain + * text, by filling the parameters from the conversation (maybe chatting text) with user + * (human). + * + * @template Parameters Target parameters type + * @template Model LLM schema model + * @returns LLM parameters schema + * @reference https://platform.openai.com/docs/guides/function-calling + * @reference https://platform.openai.com/docs/guides/structured-outputs + */ +export function parameters(): never; + +/** + * TypeScript parameters to LLM parameters schema. + * + * Creates an LLM (Large Language Model) parameters schema, a type metadata that is used in the + * [LLM function calling](https://platform.openai.com/docs/guides/function-calling) + * and [LLM structured outputs](https://platform.openai.com/docs/guides/structured-outputs), + * from a TypeScript parameters type. + * + * For references, LLM identifies only keyworded arguments, not positional arguments. + * Therefore, the TypeScript parameters type must be an object type, and its properties + * must be static. If dynamic properties are, it would be compilation error. + * + * Also, such parameters type can be utilized not only for the LLM function calling, + * but also for the LLM structured outputs. The LLM structured outputs is a feature + * that LLM (Large Language Model) can generate a structured output, not only a plain + * text, by filling the parameters from the conversation (maybe chatting text) with user + * (human). + * + * @template Parameters Target parameters type + * @template Model LLM schema model + * @returns LLM parameters schema + * @reference https://platform.openai.com/docs/guides/function-calling + * @reference https://platform.openai.com/docs/guides/structured-outputs + */ +export function parameters< + Parameters extends object, + Model extends ILlmApplication.Model, +>(): ILlmApplication.ModelSchema[Model]; + +/** + * @internal + */ +export function parameters(): never { + halt("parameters"); +} + /** * > You must configure the generic argument `T`. * @@ -129,6 +193,7 @@ export function application(): never { * @template Model LLM schema model * @returns LLM schema * @reference https://platform.openai.com/docs/guides/function-calling + * @reference https://platform.openai.com/docs/guides/structured-outputs * @author Jeongho Nam - https://github.com/samchon */ export function schema(): never; @@ -170,7 +235,12 @@ export function schema(): never; * @author Jeongho Nam - https://github.com/samchon */ export function schema( - ...$defs: Model extends "chatgpt" ? [Record] : [] + ...$defs: Extract< + ILlmApplication.ModelSchema[Model], + { $ref: string } + > extends never + ? [] + : [Record] ): ILlmApplication.ModelSchema[Model]; /** diff --git a/src/programmers/llm/LlmApplicationProgrammer.ts b/src/programmers/llm/LlmApplicationProgrammer.ts index 58857c5d96..58135d9848 100644 --- a/src/programmers/llm/LlmApplicationProgrammer.ts +++ b/src/programmers/llm/LlmApplicationProgrammer.ts @@ -1,8 +1,5 @@ -import { IChatGptSchema, ILlmApplication, OpenApi } from "@samchon/openapi"; -import { ChatGptConverter } from "@samchon/openapi/lib/converters/ChatGptConverter"; -import { GeminiConverter } from "@samchon/openapi/lib/converters/GeminiConverter"; -import { LlmConverterV3 } from "@samchon/openapi/lib/converters/LlmConverterV3"; -import { LlmConverterV3_1 } from "@samchon/openapi/lib/converters/LlmConverterV3_1"; +import { ILlmApplication, OpenApi } from "@samchon/openapi"; +import { LlmSchemaConverter } from "@samchon/openapi/lib/converters/LlmSchemaConverter"; import { ILlmFunction } from "@samchon/openapi/lib/structures/ILlmFunction"; import { MetadataFactory } from "../../factories/MetadataFactory"; @@ -120,18 +117,7 @@ export namespace LlmApplicationProgrammer { function: func, }), ), - options: (props.model === "chatgpt" - ? ({ - separate: null, - reference: false, - constraint: false, - } satisfies ILlmApplication.IOptions<"chatgpt">) - : ({ - separate: null, - recursive: props.model === "chatgpt" ? undefined : (3 as any), - } satisfies ILlmApplication.ICommonOptions< - Exclude - >)) as ILlmApplication.IOptions, + options: DEFAULT_CONFIG, }; }; @@ -201,33 +187,12 @@ export namespace LlmApplicationProgrammer { .map((p) => p.name), additionalProperties: false, }; - const parameters: ILlmApplication.ModelParameters[Model] | null = (() => { - if (props.model === "chatgpt") - return ChatGptConverter.parameters({ - options: DEFAULT_CHATGPT_OPTION, - components: props.components, - schema, - }); - else if (props.model === "gemini") - return GeminiConverter.parameters({ - recursive: DEFAULT_V3_OPTIONS.recursive, - components: props.components, - schema, - }) as ILlmApplication.ModelParameters[Model] | null; - else if (props.model === "3.0") - return LlmConverterV3.parameters({ - recursive: DEFAULT_V3_OPTIONS.recursive, - components: props.components, - schema, - }) as ILlmApplication.ModelParameters[Model] | null; - else if (props.model === "3.1") - return LlmConverterV3_1.parameters({ - recursive: DEFAULT_V3_OPTIONS.recursive, - components: props.components, - schema, - }) as ILlmApplication.ModelParameters[Model] | null; - else return null; - })(); + const parameters: ILlmApplication.ModelParameters[Model] | null = + LlmSchemaConverter.parameters(props.model)({ + config: DEFAULT_CONFIG, + components: props.components, + schema, + }) as ILlmApplication.ModelParameters[Model] | null; if (parameters === null) throw new Error("Failed to write LLM application parameters."); return parameters; @@ -240,56 +205,22 @@ export namespace LlmApplicationProgrammer { schema: OpenApi.IJsonSchema | null; }): ILlmApplication.ModelSchema[Model] | null => { if (props.schema === null) return null; - const output: ILlmApplication.ModelSchema[Model] | null = (() => { - if (props.model === "chatgpt") { - const $defs = - (props.parameters as IChatGptSchema.IParameters).$defs ?? {}; - const output: IChatGptSchema | null = ChatGptConverter.schema({ - options: DEFAULT_CHATGPT_OPTION, - components: props.components, - $defs, - schema: props.schema, - }); - if ( - output !== null && - (props.parameters as IChatGptSchema.IParameters).$defs === - undefined && - Object.keys($defs).length !== 0 - ) - (props.parameters as IChatGptSchema.IParameters).$defs = $defs; - return output; - } else if (props.model === "gemini") - return GeminiConverter.schema({ - recursive: DEFAULT_V3_OPTIONS.recursive, - components: props.components, - schema: props.schema, - }) as ILlmApplication.ModelSchema[Model] | null; - else if (props.model === "3.0") - return LlmConverterV3.schema({ - recursive: DEFAULT_V3_OPTIONS.recursive, - components: props.components, - schema: props.schema, - }) as ILlmApplication.ModelSchema[Model] | null; - else if (props.model === "3.1") - return LlmConverterV3_1.schema({ - recursive: DEFAULT_V3_OPTIONS.recursive, - components: props.components, - schema: props.schema, - }) as ILlmApplication.ModelSchema[Model] | null; - else return null; - })(); + const output: ILlmApplication.ModelSchema[Model] | null = + LlmSchemaConverter.schema(props.model)({ + config: DEFAULT_CONFIG, + components: props.components, + schema: props.schema, + $defs: (props.parameters as any).$defs, + }) as ILlmApplication.ModelSchema[Model] | null; if (output === null) throw new Error("Failed to write LLM application output."); return output; }; } -const DEFAULT_CHATGPT_OPTION: ILlmApplication.IChatGptOptions = { +const DEFAULT_CONFIG = { separate: null, - reference: false, constraint: false, -}; -const DEFAULT_V3_OPTIONS = { - separate: null, recursive: 3, -} satisfies ILlmApplication.ICommonOptions<"3.0">; + reference: false, +}; diff --git a/src/programmers/llm/LlmParametersProgrammer.ts b/src/programmers/llm/LlmParametersProgrammer.ts new file mode 100644 index 0000000000..e61aac94fd --- /dev/null +++ b/src/programmers/llm/LlmParametersProgrammer.ts @@ -0,0 +1,67 @@ +import { ILlmApplication, OpenApi, OpenApiTypeChecker } from "@samchon/openapi"; +import { LlmSchemaConverter } from "@samchon/openapi/lib/converters/LlmSchemaConverter"; + +import { MetadataFactory } from "../../factories/MetadataFactory"; + +import { Metadata } from "../../schemas/metadata/Metadata"; + +import { IJsonSchemaCollection } from "../../module"; +import { JsonSchemasProgrammer } from "../json/JsonSchemasProgrammer"; +import { LlmSchemaProgrammer } from "./LlmSchemaProgrammer"; + +export namespace LlmParametersProgrammer { + export const write = (props: { + model: Model; + metadata: Metadata; + }): ILlmApplication.ModelParameters[Model] => { + const collection: IJsonSchemaCollection<"3.1"> = + JsonSchemasProgrammer.write({ + version: "3.1", + metadatas: [props.metadata], + }); + const schema: OpenApi.IJsonSchema.IObject = (() => { + const schema: OpenApi.IJsonSchema = collection.schemas[0]!; + if (OpenApiTypeChecker.isObject(schema)) return schema; + else if (OpenApiTypeChecker.isReference(schema)) { + const last = + collection.components.schemas?.[schema.$ref.split("/").pop()!]; + if (last && OpenApiTypeChecker.isObject(last)) return last; + } + throw new Error("Unreachable code. Failed to find the object schema."); + })(); + + const parameters: ILlmApplication.ModelParameters[Model] | null = + LlmSchemaConverter.parameters(props.model)({ + config: { + recursive: 3, + reference: false, + constraint: false, + }, + components: collection.components, + schema, + }) as ILlmApplication.ModelParameters[Model] | null; + if (parameters === null) + throw new Error("Failed to convert JSON schema to LLM schema."); + return parameters; + }; + + export const validate = + (model: ILlmApplication.Model) => + (metadata: Metadata, explore: MetadataFactory.IExplore): string[] => { + const output: string[] = []; + if (explore.top === true) { + if (metadata.objects.length === 0) + output.push("LLM parameters must be an objec type."); + else if (metadata.objects.length !== 1 || metadata.size() > 1) + output.push("LLM parameters must be a single object type."); + else { + if (metadata.nullable) + output.push("LLM parameters must be a non-nullable object type."); + else if (metadata.isRequired() === false) + output.push("LLM parameters must be a non-undefined object type."); + } + } + output.push(...LlmSchemaProgrammer.validate(model)(metadata)); + return output; + }; +} diff --git a/src/programmers/llm/LlmSchemaProgrammer.ts b/src/programmers/llm/LlmSchemaProgrammer.ts index 059e958e14..33e63ee355 100644 --- a/src/programmers/llm/LlmSchemaProgrammer.ts +++ b/src/programmers/llm/LlmSchemaProgrammer.ts @@ -1,13 +1,5 @@ -import { - IChatGptSchema, - IHttpLlmApplication, - ILlmApplication, - OpenApi, -} from "@samchon/openapi"; -import { ChatGptConverter } from "@samchon/openapi/lib/converters/ChatGptConverter"; -import { GeminiConverter } from "@samchon/openapi/lib/converters/GeminiConverter"; -import { LlmConverterV3 } from "@samchon/openapi/lib/converters/LlmConverterV3"; -import { LlmConverterV3_1 } from "@samchon/openapi/lib/converters/LlmConverterV3_1"; +import { ILlmApplication } from "@samchon/openapi"; +import { LlmSchemaConverter } from "@samchon/openapi/lib/converters/LlmSchemaConverter"; import { IJsonSchemaCollection } from "../../schemas/json/IJsonSchemaCollection"; import { Metadata } from "../../schemas/metadata/Metadata"; @@ -24,8 +16,9 @@ export namespace LlmSchemaProgrammer { export interface IOutput { model: Model; schema: ILlmApplication.ModelSchema[Model]; - $defs: Record; + $defs: Record; } + export const write = (props: { model: Model; metadata: Metadata; @@ -36,20 +29,18 @@ export namespace LlmSchemaProgrammer { metadatas: [props.metadata], }); - const $defs: Record = {}; - const schema: ILlmApplication.ModelSchema[Model] | null = CASTERS[ - props.model - ]({ - options: { - recursive: 3, - reference: false, - constraint: false, - } satisfies Omit & - Omit, "separate"> as any, - components: collection.components, - schema: collection.schemas[0]!, - $defs, - }) as ILlmApplication.ModelSchema[Model] | null; + const $defs: Record = {}; + const schema: ILlmApplication.ModelSchema[Model] | null = + LlmSchemaConverter.schema(props.model)({ + config: { + recursive: 3, + reference: false, + constraint: false, + }, + components: collection.components, + schema: collection.schemas[0]!, + $defs: $defs as any, + }) as ILlmApplication.ModelSchema[Model] | null; if (schema === null) throw new Error("Failed to convert JSON schema to LLM schema."); return { @@ -138,48 +129,3 @@ const size = (metadata: Metadata): number => }).length, ) .reduce((a, b) => a + b, 0); - -const CASTERS = { - "3.0": (props: { - components: OpenApi.IComponents; - schema: OpenApi.IJsonSchema; - options: IHttpLlmApplication.IOptions<"3.0">; - }) => - LlmConverterV3.schema({ - components: props.components, - schema: props.schema, - recursive: props.options.recursive, - }), - "3.1": (props: { - components: OpenApi.IComponents; - schema: OpenApi.IJsonSchema; - options: IHttpLlmApplication.IOptions<"3.1">; - }) => - LlmConverterV3_1.schema({ - components: props.components, - schema: props.schema, - recursive: props.options.recursive, - }), - chatgpt: (props: { - components: OpenApi.IComponents; - schema: OpenApi.IJsonSchema; - $defs: Record; - options: Omit; - }) => - ChatGptConverter.schema({ - components: props.components, - schema: props.schema, - $defs: props.$defs, - options: props.options, - }), - gemini: (props: { - components: OpenApi.IComponents; - schema: OpenApi.IJsonSchema; - options: IHttpLlmApplication.IOptions<"gemini">; - }) => - GeminiConverter.schema({ - components: props.components, - schema: props.schema, - recursive: props.options.recursive, - }), -}; diff --git a/src/transformers/CallExpressionTransformer.ts b/src/transformers/CallExpressionTransformer.ts index 93a9032f51..2e3d328e88 100644 --- a/src/transformers/CallExpressionTransformer.ts +++ b/src/transformers/CallExpressionTransformer.ts @@ -67,6 +67,7 @@ import { JsonStringifyTransformer } from "./features/json/JsonStringifyTransform import { JsonValidateParseTransformer } from "./features/json/JsonValidateParseTransformer"; import { JsonValidateStringifyTransformer } from "./features/json/JsonValidateStringifyTransformer"; import { LlmApplicationTransformer } from "./features/llm/LlmApplicationTransformer"; +import { LlmParametersTransformer } from "./features/llm/LlmParametersTransformer"; import { LlmSchemaTransformer } from "./features/llm/LlmSchemaTransformer"; import { MiscAssertCloneTransformer } from "./features/misc/MiscAssertCloneTransformer"; import { MiscAssertPruneTransformer } from "./features/misc/MiscAssertPruneTransformer"; @@ -394,6 +395,7 @@ const FUNCTORS: Record Task>> = { }, llm: { application: () => LlmApplicationTransformer.transform, + parameters: () => LlmParametersTransformer.transform, schema: () => LlmSchemaTransformer.transform, }, json: { diff --git a/src/transformers/features/llm/LlmApplicationTransformer.ts b/src/transformers/features/llm/LlmApplicationTransformer.ts index 098ef129d2..ce3f2ab312 100644 --- a/src/transformers/features/llm/LlmApplicationTransformer.ts +++ b/src/transformers/features/llm/LlmApplicationTransformer.ts @@ -29,17 +29,18 @@ export namespace LlmApplicationTransformer { if (ts.isTypeNode(top) === false) return props.expression; // GET MODEL - const model: ILlmApplication.Model = get_parameter({ - checker: props.context.checker, - name: "Model", - is: (value) => - value === "3.1" || - value === "3.0" || - value === "chatgpt" || - value === "gemini", - cast: (value) => value as ILlmApplication.Model, - default: () => "3.1", - })(props.expression.typeArguments[1]); + const model: ILlmApplication.Model = + getTemplateArgument({ + checker: props.context.checker, + name: "Model", + is: (value) => + value === "3.1" || + value === "3.0" || + value === "chatgpt" || + value === "gemini", + cast: (value) => value as ILlmApplication.Model, + default: () => "3.1", + })(props.expression.typeArguments[1]); // GET TYPE const type: ts.Type = props.context.checker.getTypeFromTypeNode(top); @@ -101,7 +102,7 @@ export namespace LlmApplicationTransformer { ); }; - const get_parameter = + const getTemplateArgument = (props: { checker: ts.TypeChecker; name: string; diff --git a/src/transformers/features/llm/LlmParametersTransformer.ts b/src/transformers/features/llm/LlmParametersTransformer.ts new file mode 100644 index 0000000000..6219166ee6 --- /dev/null +++ b/src/transformers/features/llm/LlmParametersTransformer.ts @@ -0,0 +1,112 @@ +import { ILlmApplication } from "@samchon/openapi"; +import { ILlmFunction } from "@samchon/openapi/lib/structures/ILlmFunction"; +import ts from "typescript"; + +import { LiteralFactory } from "../../../factories/LiteralFactory"; +import { MetadataCollection } from "../../../factories/MetadataCollection"; +import { MetadataFactory } from "../../../factories/MetadataFactory"; + +import { Metadata } from "../../../schemas/metadata/Metadata"; + +import { LlmParametersProgrammer } from "../../../programmers/llm/LlmParametersProgrammer"; +import { LlmSchemaProgrammer } from "../../../programmers/llm/LlmSchemaProgrammer"; + +import { ValidationPipe } from "../../../typings/ValidationPipe"; + +import { ITransformProps } from "../../ITransformProps"; +import { TransformerError } from "../../TransformerError"; + +export namespace LlmParametersTransformer { + export const transform = ( + props: Omit, + ): ts.Expression => { + // GET GENERIC ARGUMENT + if (!props.expression.typeArguments?.length) + throw new TransformerError({ + code: "typia.llm.parameters", + message: "no generic argument.", + }); + + const top: ts.Node = props.expression.typeArguments[0]!; + if (ts.isTypeNode(top) === false) return props.expression; + + // GET MODEL + const model: ILlmApplication.Model = + getTemplateArgument({ + checker: props.context.checker, + name: "Model", + is: (value) => + value === "3.1" || + value === "3.0" || + value === "chatgpt" || + value === "gemini", + cast: (value) => value as ILlmApplication.Model, + default: () => "3.1", + })(props.expression.typeArguments[1]); + + // GET TYPE + const type: ts.Type = props.context.checker.getTypeFromTypeNode(top); + const collection: MetadataCollection = new MetadataCollection({ + replace: MetadataCollection.replace, + }); + const result: ValidationPipe = + MetadataFactory.analyze({ + checker: props.context.checker, + transformer: props.context.transformer, + options: { + escape: true, + constant: true, + absorb: false, + validate: LlmSchemaProgrammer.validate(model), + }, + collection, + type, + }); + if (result.success === false) + throw TransformerError.from({ + code: "typia.llm.parameters", + errors: result.errors, + }); + + // GENERATE LLM SCHEMA + const out: ILlmFunction["parameters"] = LlmParametersProgrammer.write({ + model, + metadata: result.data, + }); + return LiteralFactory.write(out); + }; + + const getTemplateArgument = + (props: { + checker: ts.TypeChecker; + name: string; + is: (value: string) => boolean; + cast: (value: string) => Value; + default: () => Value; + }) => + (node: ts.TypeNode | undefined): Value => { + if (!node) return props.default(); + + // CHECK LITERAL TYPE + const type: ts.Type = props.checker.getTypeFromTypeNode(node); + if ( + !type.isLiteral() && + (type.getFlags() & ts.TypeFlags.BooleanLiteral) === 0 + ) + throw new TransformerError({ + code: "typia.llm.parameters", + message: `generic argument "${props.name}" must be constant.`, + }); + + // GET VALUE AND VALIDATE IT + const value = type.isLiteral() + ? type.value + : props.checker.typeToString(type); + if (typeof value !== "string" || props.is(value) === false) + throw new TransformerError({ + code: "typia.llm.parameters", + message: `invalid value on generic argument "${props.name}".`, + }); + return props.cast(value); + }; +} diff --git a/src/transformers/features/llm/LlmSchemaTransformer.ts b/src/transformers/features/llm/LlmSchemaTransformer.ts index a6c0932dd3..227a3d7f0a 100644 --- a/src/transformers/features/llm/LlmSchemaTransformer.ts +++ b/src/transformers/features/llm/LlmSchemaTransformer.ts @@ -30,17 +30,18 @@ export namespace LlmSchemaTransformer { if (ts.isTypeNode(top) === false) return props.expression; // GET MODEL - const model: ILlmApplication.Model = get_parameter({ - checker: props.context.checker, - name: "Model", - is: (value) => - value === "3.1" || - value === "3.0" || - value === "chatgpt" || - value === "gemini", - cast: (value) => value as ILlmApplication.Model, - default: () => "3.1", - })(props.expression.typeArguments[1]); + const model: ILlmApplication.Model = + getTemplateArgument({ + checker: props.context.checker, + name: "Model", + is: (value) => + value === "3.1" || + value === "3.0" || + value === "chatgpt" || + value === "gemini", + cast: (value) => value as ILlmApplication.Model, + default: () => "3.1", + })(props.expression.typeArguments[1]); // GET TYPE const type: ts.Type = props.context.checker.getTypeFromTypeNode(top); @@ -108,7 +109,7 @@ export namespace LlmSchemaTransformer { ); }; - const get_parameter = + const getTemplateArgument = (props: { checker: ts.TypeChecker; name: string; diff --git a/test-error/package.json b/test-error/package.json index fa9ea90e8b..73bf4dc941 100644 --- a/test-error/package.json +++ b/test-error/package.json @@ -32,6 +32,6 @@ "typescript": "^5.3.2" }, "dependencies": { - "typia": "../typia-7.0.0-dev.20241123.tgz" + "typia": "../typia-7.0.0-dev.20241124.tgz" } } \ No newline at end of file diff --git a/test-esm/package.json b/test-esm/package.json index 3ccbcebd86..70e419eb7b 100644 --- a/test-esm/package.json +++ b/test-esm/package.json @@ -36,6 +36,6 @@ "typescript": "^5.4.5" }, "dependencies": { - "typia": "../typia-7.0.0-dev.20241123.tgz" + "typia": "../typia-7.0.0-dev.20241124.tgz" } } \ No newline at end of file diff --git a/test/build/internal/TestLlmApplicationGenerator.ts b/test/build/internal/TestLlmApplicationGenerator.ts index 6ca5345740..afd621f6b5 100644 --- a/test/build/internal/TestLlmApplicationGenerator.ts +++ b/test/build/internal/TestLlmApplicationGenerator.ts @@ -36,17 +36,11 @@ export namespace TestLlmApplicationGenerator { ); if ( v31.includes(`"additionalProperties": {`) === true || - v31.includes(`"additionalProperties": true`) + v31.includes(`"additionalProperties": true`) === true || + v31.includes(`"prefixItems":`) === true ) continue; - else if (model === "chatgpt") { - // CHATGPT DOES NOT SUPPORT TUPLE TYPE - const json: string = await fs.promises.readFile( - `${__dirname}/../../schemas/json.schemas/v3_1/${s.name}.json`, - "utf8", - ); - if (json.includes(`"prefixItems":`) === true) continue; - } else if (model === "gemini") { + else if (model === "gemini") { // GEMINI DOES NOT SUPPORT UNION TYPE const json: string = await fs.promises.readFile( `${__dirname}/../../schemas/json.schemas/v3_0/${s.name}.json`, diff --git a/test/build/internal/TestLlmParametersGenerator.ts b/test/build/internal/TestLlmParametersGenerator.ts new file mode 100644 index 0000000000..7ae6081e9c --- /dev/null +++ b/test/build/internal/TestLlmParametersGenerator.ts @@ -0,0 +1,126 @@ +import cp from "child_process"; +import fs from "fs"; + +import { TestStructure } from "./TestStructure"; + +export namespace TestLlmParametersGenerator { + export async function generate( + structures: TestStructure[], + ): Promise { + const location: string = `${__dirname}/../../src/features/llm.parameters`; + if (fs.existsSync(location)) cp.execSync("npx rimraf " + location); + await fs.promises.mkdir(location); + for (const model of MODELS) { + await fs.promises.mkdir(`${location}/${model}`); + await parameters(model, structures); + } + } + + async function parameters( + model: string, + structures: TestStructure[], + ): Promise { + for (const s of structures) { + if (s.name === "UltimateUnion") + continue; // TOO MUCH LARGE + else if ( + fs.existsSync( + `${__dirname}/../../schemas/json.schemas/v3_1/${s.name}.json`, + ) === false + ) + continue; + + const v31: string = await fs.promises.readFile( + `${__dirname}/../../schemas/json.schemas/v3_1/${s.name}.json`, + "utf8", + ); + if ( + v31.includes(`"additionalProperties": {`) === true || + v31.includes(`"additionalProperties": true`) === true || + v31.includes(`"prefixItems":`) === true + ) + continue; + else if (model === "gemini") { + // GEMINI DOES NOT SUPPORT UNION TYPE + const json: string = await fs.promises.readFile( + `${__dirname}/../../schemas/json.schemas/v3_0/${s.name}.json`, + "utf8", + ); + if (json.includes(`"oneOf":`) === true) continue; + } + const content: string[] = [ + `import typia from "typia";`, + `import { ${s.name} } from "../../../structures/${s.name}";`, + `import { _test_llm_parameters } from "../../../internal/_test_llm_parameters";`, + "", + `export const test_llm_parameters_${model.replace(".", "_")}_${s.name} = `, + ` _test_llm_parameters({`, + ` model: ${JSON.stringify(model)},`, + ` name: ${JSON.stringify(s.name)},`, + ` })(`, + ` typia.llm.parameters<${s.name}Parameters, ${JSON.stringify(model)}>(),`, + ` );`, + ``, + `interface ${s.name}Parameters {`, + ` regular: ${s.name};`, + ` nullable: ${s.name} | null;`, + ` optional: ${s.name} | undefined;`, + ` faint: ${s.name} | null | undefined;`, + ` array: Array<${s.name}>;`, + `}`, + ]; + await fs.promises.writeFile( + `${__dirname}/../../src/features/llm.parameters/${model}/test_llm_parameters_${model.replace(".", "_")}_${s.name}.ts`, + content.join("\n"), + "utf8", + ); + } + } + + export async function schemas(): Promise { + const location: string = `${__dirname}/../../schemas/llm.parameters`; + if (fs.existsSync(location)) cp.execSync("npx rimraf " + location); + await mkdir(location); + for (const model of MODELS) { + await mkdir(`${location}/${model}`); + await iterate(model); + } + } + + function getSchema(content: string): object { + const first: number = content.lastIndexOf(`})({`) + 4; + const last: number = content.lastIndexOf("}"); + return new Function("return {" + content.substring(first, last) + "}")(); + } + + async function iterate(model: string): Promise { + const path: string = `${__dirname}/../../src/features/llm.parameters/${model}`; + const schemaPath: string = `${__dirname}/../../schemas/llm.parameters/${model}`; + for (const file of await fs.promises.readdir(path)) { + if (file.substring(file.length - 3) !== ".ts") continue; + + const name: string = file.substring( + `test_llm_parameters_${model.replace(".", "_")}_`.length, + file.length - 3, + ); + const location: string = + __dirname + + `/../../bin/features/llm.parameters/${model}/${file.slice(0, -3)}.js`; + const schema: object = getSchema( + await fs.promises.readFile(location, "utf8"), + ); + await fs.promises.writeFile( + `${schemaPath}/${name}.json`, + JSON.stringify(schema, null, 2), + "utf8", + ); + } + } + + async function mkdir(path: string): Promise { + if (fs.existsSync(path)) cp.execSync(`npx rimraf ${path}`); + await fs.promises.mkdir(path, { recursive: true }); + } +} + +const MODELS = ["3.0", "3.1", "chatgpt", "gemini"]; diff --git a/test/build/internal/TestLlmSchemaGenerator.ts b/test/build/internal/TestLlmSchemaGenerator.ts index 7e8d19e9a8..4ea47ed038 100644 --- a/test/build/internal/TestLlmSchemaGenerator.ts +++ b/test/build/internal/TestLlmSchemaGenerator.ts @@ -36,13 +36,11 @@ export namespace TestLlmSchemaGenerator { ); if ( v31.includes(`"additionalProperties": {`) === true || - v31.includes(`"additionalProperties": true`) + v31.includes(`"additionalProperties": true`) === true || + v31.includes(`"prefixItems":`) === true ) continue; - else if (model === "chatgpt") { - // CHATGPT DOES NOT SUPPORT TUPLE TYPE - if (v31.includes(`"prefixItems":`) === true) continue; - } else if (model === "gemini") { + else if (model === "gemini") { // GEMINI DOES NOT SUPPORT UNION TYPE const json: string = await fs.promises.readFile( `${__dirname}/../../schemas/json.schemas/v3_0/${s.name}.json`, @@ -59,7 +57,7 @@ export namespace TestLlmSchemaGenerator { ` _test_llm_schema({`, ` model: ${JSON.stringify(model)},`, ` name: ${JSON.stringify(s.name)},`, - ` })(typia.llm.schema<${s.name}, ${JSON.stringify(model)}>(${model === "chatgpt" ? "{}" : ""}));`, + ` })(typia.llm.schema<${s.name}, ${JSON.stringify(model)}>(${REFERENCABLE.includes(model) ? "{}" : ""}));`, ]; await fs.promises.writeFile( `${__dirname}/../../src/features/llm.schema/${model}/test_llm_schema_${model.replace(".", "_")}_${s.name}.ts`, @@ -116,3 +114,4 @@ export namespace TestLlmSchemaGenerator { } const MODELS = ["3.0", "3.1", "chatgpt", "gemini"]; +const REFERENCABLE = ["3.1", "chatgpt"]; diff --git a/test/build/template.ts b/test/build/template.ts index 2318cdc798..f46d498a9e 100644 --- a/test/build/template.ts +++ b/test/build/template.ts @@ -5,6 +5,7 @@ import { TestFeature } from "./internal/TestFeature"; import { TestJsonApplicationGenerator } from "./internal/TestJsonApplicationGenerator"; import { TestJsonSchemasGenerator } from "./internal/TestJsonSchemasGenerator"; import { TestLlmApplicationGenerator } from "./internal/TestLlmApplicationGenerator"; +import { TestLlmParametersGenerator } from "./internal/TestLlmParametersGenerator"; import { TestLlmSchemaGenerator } from "./internal/TestLlmSchemaGenerator"; import { TestProtobufMessageGenerator } from "./internal/TestProtobufMessageGenerator"; import { TestReflectMetadataGenerator } from "./internal/TestReflectMetadataGenerator"; @@ -177,10 +178,12 @@ async function main(): Promise { // LLM SCHEMAS AGAIN await TestLlmApplicationGenerator.generate(structures); + await TestLlmParametersGenerator.generate(structures); await TestLlmSchemaGenerator.generate(structures); cp.execSync("npm run build", { stdio: "inherit" }); await TestLlmApplicationGenerator.schemas(); + await TestLlmParametersGenerator.schemas(); await TestLlmSchemaGenerator.schemas(); cp.execSync("npm run prettier", { stdio: "inherit" }); diff --git a/test/package.json b/test/package.json index 2e3e47d1b7..50f1c16baa 100644 --- a/test/package.json +++ b/test/package.json @@ -53,6 +53,6 @@ "suppress-warnings": "^1.0.2", "tstl": "^3.0.0", "uuid": "^9.0.1", - "typia": "../typia-7.0.0-dev.20241123.tgz" + "typia": "../typia-7.0.0-dev.20241124.tgz" } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayAny.json b/test/schemas/llm.application/3.0/ArrayAny.json index d15c52eaa8..c5d3f3a4bd 100644 --- a/test/schemas/llm.application/3.0/ArrayAny.json +++ b/test/schemas/llm.application/3.0/ArrayAny.json @@ -474,6 +474,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayAtomicAlias.json b/test/schemas/llm.application/3.0/ArrayAtomicAlias.json deleted file mode 100644 index 8a7dd9770a..0000000000 --- a/test/schemas/llm.application/3.0/ArrayAtomicAlias.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayAtomicSimple.json b/test/schemas/llm.application/3.0/ArrayAtomicSimple.json deleted file mode 100644 index 8a7dd9770a..0000000000 --- a/test/schemas/llm.application/3.0/ArrayAtomicSimple.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayHierarchical.json b/test/schemas/llm.application/3.0/ArrayHierarchical.json index 2932562d77..b1e524bad3 100644 --- a/test/schemas/llm.application/3.0/ArrayHierarchical.json +++ b/test/schemas/llm.application/3.0/ArrayHierarchical.json @@ -1058,6 +1058,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayHierarchicalPointer.json b/test/schemas/llm.application/3.0/ArrayHierarchicalPointer.json index 2dc4bd89e1..74006d70b0 100644 --- a/test/schemas/llm.application/3.0/ArrayHierarchicalPointer.json +++ b/test/schemas/llm.application/3.0/ArrayHierarchicalPointer.json @@ -1130,6 +1130,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayMatrix.json b/test/schemas/llm.application/3.0/ArrayMatrix.json index b0bbe71d8e..e5298a9aea 100644 --- a/test/schemas/llm.application/3.0/ArrayMatrix.json +++ b/test/schemas/llm.application/3.0/ArrayMatrix.json @@ -146,6 +146,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayRecursive.json b/test/schemas/llm.application/3.0/ArrayRecursive.json index 31d0cf2293..539864f9e3 100644 --- a/test/schemas/llm.application/3.0/ArrayRecursive.json +++ b/test/schemas/llm.application/3.0/ArrayRecursive.json @@ -1378,6 +1378,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayRecursiveUnionExplicit.json b/test/schemas/llm.application/3.0/ArrayRecursiveUnionExplicit.json index 4545027189..4cac062b98 100644 --- a/test/schemas/llm.application/3.0/ArrayRecursiveUnionExplicit.json +++ b/test/schemas/llm.application/3.0/ArrayRecursiveUnionExplicit.json @@ -14498,6 +14498,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayRecursiveUnionExplicitPointer.json b/test/schemas/llm.application/3.0/ArrayRecursiveUnionExplicitPointer.json index 0556382f15..cf40afe68c 100644 --- a/test/schemas/llm.application/3.0/ArrayRecursiveUnionExplicitPointer.json +++ b/test/schemas/llm.application/3.0/ArrayRecursiveUnionExplicitPointer.json @@ -15290,6 +15290,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayRecursiveUnionImplicit.json b/test/schemas/llm.application/3.0/ArrayRecursiveUnionImplicit.json index f2f06161a4..4221bcb275 100644 --- a/test/schemas/llm.application/3.0/ArrayRecursiveUnionImplicit.json +++ b/test/schemas/llm.application/3.0/ArrayRecursiveUnionImplicit.json @@ -25282,6 +25282,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayRepeatedNullable.json b/test/schemas/llm.application/3.0/ArrayRepeatedNullable.json index 1127a24c3b..33a9e49ff7 100644 --- a/test/schemas/llm.application/3.0/ArrayRepeatedNullable.json +++ b/test/schemas/llm.application/3.0/ArrayRepeatedNullable.json @@ -583,6 +583,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayRepeatedRequired.json b/test/schemas/llm.application/3.0/ArrayRepeatedRequired.json index c3e8350fc9..fe8f6d4273 100644 --- a/test/schemas/llm.application/3.0/ArrayRepeatedRequired.json +++ b/test/schemas/llm.application/3.0/ArrayRepeatedRequired.json @@ -532,6 +532,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayRepeatedUnion.json b/test/schemas/llm.application/3.0/ArrayRepeatedUnion.json index 0169085f50..925b47b4a2 100644 --- a/test/schemas/llm.application/3.0/ArrayRepeatedUnion.json +++ b/test/schemas/llm.application/3.0/ArrayRepeatedUnion.json @@ -4279,6 +4279,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayRepeatedUnionWithTuple.json b/test/schemas/llm.application/3.0/ArrayRepeatedUnionWithTuple.json deleted file mode 100644 index f51910851e..0000000000 --- a/test/schemas/llm.application/3.0/ArrayRepeatedUnionWithTuple.json +++ /dev/null @@ -1,9437 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "second": { - "oneOf": [ - { - "type": "number", - "nullable": true - }, - { - "type": "boolean", - "nullable": true - }, - { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "nullable": true - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "oneOf": [ - { - "type": "number", - "nullable": true - }, - { - "type": "boolean", - "nullable": true - }, - { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "nullable": true - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - } - ] - }, - "second": { - "oneOf": [ - { - "type": "number", - "nullable": true - }, - { - "type": "boolean", - "nullable": true - }, - { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "nullable": true - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - } - ] - }, - "third": { - "oneOf": [ - { - "type": "number", - "nullable": true - }, - { - "type": "boolean", - "nullable": true - }, - { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "nullable": true - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "oneOf": [ - { - "type": "number", - "nullable": true - }, - { - "type": "boolean", - "nullable": true - }, - { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "nullable": true - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArraySimple.json b/test/schemas/llm.application/3.0/ArraySimple.json index e09490acef..aeb75e9ac8 100644 --- a/test/schemas/llm.application/3.0/ArraySimple.json +++ b/test/schemas/llm.application/3.0/ArraySimple.json @@ -394,6 +394,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ArrayUnion.json b/test/schemas/llm.application/3.0/ArrayUnion.json index c623ba1fe5..a4eb01e073 100644 --- a/test/schemas/llm.application/3.0/ArrayUnion.json +++ b/test/schemas/llm.application/3.0/ArrayUnion.json @@ -250,6 +250,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/AtomicAlias.json b/test/schemas/llm.application/3.0/AtomicAlias.json deleted file mode 100644 index 36da4496a6..0000000000 --- a/test/schemas/llm.application/3.0/AtomicAlias.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/AtomicClass.json b/test/schemas/llm.application/3.0/AtomicClass.json deleted file mode 100644 index 12450cea1b..0000000000 --- a/test/schemas/llm.application/3.0/AtomicClass.json +++ /dev/null @@ -1,343 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "minItems": 9, - "maxItems": 9 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "minItems": 9, - "maxItems": 9 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "minItems": 9, - "maxItems": 9, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "minItems": 9, - "maxItems": 9 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "minItems": 9, - "maxItems": 9, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "minItems": 9, - "maxItems": 9, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "minItems": 9, - "maxItems": 9, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "minItems": 9, - "maxItems": 9, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/AtomicIntersection.json b/test/schemas/llm.application/3.0/AtomicIntersection.json deleted file mode 100644 index 36da4496a6..0000000000 --- a/test/schemas/llm.application/3.0/AtomicIntersection.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/AtomicSimple.json b/test/schemas/llm.application/3.0/AtomicSimple.json deleted file mode 100644 index 36da4496a6..0000000000 --- a/test/schemas/llm.application/3.0/AtomicSimple.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/AtomicUnion.json b/test/schemas/llm.application/3.0/AtomicUnion.json index 55675ef97e..06f075be84 100644 --- a/test/schemas/llm.application/3.0/AtomicUnion.json +++ b/test/schemas/llm.application/3.0/AtomicUnion.json @@ -202,6 +202,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ClassGetter.json b/test/schemas/llm.application/3.0/ClassGetter.json index 878267e18f..d01f59c8e9 100644 --- a/test/schemas/llm.application/3.0/ClassGetter.json +++ b/test/schemas/llm.application/3.0/ClassGetter.json @@ -218,6 +218,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ClassMethod.json b/test/schemas/llm.application/3.0/ClassMethod.json index 7dfa9bd017..1242d47092 100644 --- a/test/schemas/llm.application/3.0/ClassMethod.json +++ b/test/schemas/llm.application/3.0/ClassMethod.json @@ -178,6 +178,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ClassPropertyAssignment.json b/test/schemas/llm.application/3.0/ClassPropertyAssignment.json index d3b7d8a9ab..fe85806f74 100644 --- a/test/schemas/llm.application/3.0/ClassPropertyAssignment.json +++ b/test/schemas/llm.application/3.0/ClassPropertyAssignment.json @@ -322,6 +322,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagArray.json b/test/schemas/llm.application/3.0/CommentTagArray.json index cd044297c8..43a0cf59ff 100644 --- a/test/schemas/llm.application/3.0/CommentTagArray.json +++ b/test/schemas/llm.application/3.0/CommentTagArray.json @@ -554,6 +554,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagArrayUnion.json b/test/schemas/llm.application/3.0/CommentTagArrayUnion.json index 69b7872dd3..538ce68cb9 100644 --- a/test/schemas/llm.application/3.0/CommentTagArrayUnion.json +++ b/test/schemas/llm.application/3.0/CommentTagArrayUnion.json @@ -466,6 +466,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagAtomicUnion.json b/test/schemas/llm.application/3.0/CommentTagAtomicUnion.json index 6416f03269..759d0eafbc 100644 --- a/test/schemas/llm.application/3.0/CommentTagAtomicUnion.json +++ b/test/schemas/llm.application/3.0/CommentTagAtomicUnion.json @@ -322,6 +322,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagDefault.json b/test/schemas/llm.application/3.0/CommentTagDefault.json index 033ed8798f..193ca9153a 100644 --- a/test/schemas/llm.application/3.0/CommentTagDefault.json +++ b/test/schemas/llm.application/3.0/CommentTagDefault.json @@ -938,6 +938,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagFormat.json b/test/schemas/llm.application/3.0/CommentTagFormat.json index 99ea322095..c27b31454e 100644 --- a/test/schemas/llm.application/3.0/CommentTagFormat.json +++ b/test/schemas/llm.application/3.0/CommentTagFormat.json @@ -994,6 +994,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagLength.json b/test/schemas/llm.application/3.0/CommentTagLength.json index 167d18d8cf..53de8de505 100644 --- a/test/schemas/llm.application/3.0/CommentTagLength.json +++ b/test/schemas/llm.application/3.0/CommentTagLength.json @@ -434,6 +434,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagObjectUnion.json b/test/schemas/llm.application/3.0/CommentTagObjectUnion.json index a0f90710a2..80e3536a3d 100644 --- a/test/schemas/llm.application/3.0/CommentTagObjectUnion.json +++ b/test/schemas/llm.application/3.0/CommentTagObjectUnion.json @@ -322,6 +322,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagPattern.json b/test/schemas/llm.application/3.0/CommentTagPattern.json index b4a85e80b5..2c17869319 100644 --- a/test/schemas/llm.application/3.0/CommentTagPattern.json +++ b/test/schemas/llm.application/3.0/CommentTagPattern.json @@ -274,6 +274,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagRange.json b/test/schemas/llm.application/3.0/CommentTagRange.json index 3e987b2a47..13e050dc69 100644 --- a/test/schemas/llm.application/3.0/CommentTagRange.json +++ b/test/schemas/llm.application/3.0/CommentTagRange.json @@ -658,6 +658,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/CommentTagType.json b/test/schemas/llm.application/3.0/CommentTagType.json index 029e89c72a..a8ebbe606b 100644 --- a/test/schemas/llm.application/3.0/CommentTagType.json +++ b/test/schemas/llm.application/3.0/CommentTagType.json @@ -466,6 +466,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ConstantAtomicAbsorbed.json b/test/schemas/llm.application/3.0/ConstantAtomicAbsorbed.json index 1ff700a1cf..2e03fd84a6 100644 --- a/test/schemas/llm.application/3.0/ConstantAtomicAbsorbed.json +++ b/test/schemas/llm.application/3.0/ConstantAtomicAbsorbed.json @@ -194,6 +194,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ConstantAtomicSimple.json b/test/schemas/llm.application/3.0/ConstantAtomicSimple.json deleted file mode 100644 index ca3d08a750..0000000000 --- a/test/schemas/llm.application/3.0/ConstantAtomicSimple.json +++ /dev/null @@ -1,319 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "boolean", - "enum": [ - true - ] - }, - { - "type": "number", - "enum": [ - 2 - ] - }, - { - "type": "string", - "enum": [ - "three" - ] - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "boolean", - "enum": [ - true - ] - }, - { - "type": "number", - "enum": [ - 2 - ] - }, - { - "type": "string", - "enum": [ - "three" - ] - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "boolean", - "enum": [ - true - ] - }, - { - "type": "number", - "enum": [ - 2 - ] - }, - { - "type": "string", - "enum": [ - "three" - ] - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "boolean", - "enum": [ - true - ] - }, - { - "type": "number", - "enum": [ - 2 - ] - }, - { - "type": "string", - "enum": [ - "three" - ] - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "boolean", - "enum": [ - true - ] - }, - { - "type": "number", - "enum": [ - 2 - ] - }, - { - "type": "string", - "enum": [ - "three" - ] - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "boolean", - "enum": [ - true - ] - }, - { - "type": "number", - "enum": [ - 2 - ] - }, - { - "type": "string", - "enum": [ - "three" - ] - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "boolean", - "enum": [ - true - ] - }, - { - "type": "number", - "enum": [ - 2 - ] - }, - { - "type": "string", - "enum": [ - "three" - ] - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "boolean", - "enum": [ - true - ] - }, - { - "type": "number", - "enum": [ - 2 - ] - }, - { - "type": "string", - "enum": [ - "three" - ] - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ConstantAtomicTagged.json b/test/schemas/llm.application/3.0/ConstantAtomicTagged.json index 7b71b0b2ab..f5b7a632cd 100644 --- a/test/schemas/llm.application/3.0/ConstantAtomicTagged.json +++ b/test/schemas/llm.application/3.0/ConstantAtomicTagged.json @@ -298,6 +298,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ConstantAtomicUnion.json b/test/schemas/llm.application/3.0/ConstantAtomicUnion.json index c83f260fb3..889e25fd66 100644 --- a/test/schemas/llm.application/3.0/ConstantAtomicUnion.json +++ b/test/schemas/llm.application/3.0/ConstantAtomicUnion.json @@ -386,6 +386,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ConstantAtomicWrapper.json b/test/schemas/llm.application/3.0/ConstantAtomicWrapper.json deleted file mode 100644 index d5bfda16e6..0000000000 --- a/test/schemas/llm.application/3.0/ConstantAtomicWrapper.json +++ /dev/null @@ -1,415 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ConstantConstEnumeration.json b/test/schemas/llm.application/3.0/ConstantConstEnumeration.json index 497758484b..5175fd6f27 100644 --- a/test/schemas/llm.application/3.0/ConstantConstEnumeration.json +++ b/test/schemas/llm.application/3.0/ConstantConstEnumeration.json @@ -226,6 +226,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ConstantEnumeration.json b/test/schemas/llm.application/3.0/ConstantEnumeration.json index 497758484b..5175fd6f27 100644 --- a/test/schemas/llm.application/3.0/ConstantEnumeration.json +++ b/test/schemas/llm.application/3.0/ConstantEnumeration.json @@ -226,6 +226,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ConstantIntersection.json b/test/schemas/llm.application/3.0/ConstantIntersection.json deleted file mode 100644 index 6f459b2c8a..0000000000 --- a/test/schemas/llm.application/3.0/ConstantIntersection.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "number", - "enum": [ - 1 - ] - }, - { - "type": "string", - "enum": [ - "two" - ] - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "number", - "enum": [ - 1 - ] - }, - { - "type": "string", - "enum": [ - "two" - ] - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "number", - "enum": [ - 1 - ] - }, - { - "type": "string", - "enum": [ - "two" - ] - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "number", - "enum": [ - 1 - ] - }, - { - "type": "string", - "enum": [ - "two" - ] - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "number", - "enum": [ - 1 - ] - }, - { - "type": "string", - "enum": [ - "two" - ] - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "number", - "enum": [ - 1 - ] - }, - { - "type": "string", - "enum": [ - "two" - ] - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "number", - "enum": [ - 1 - ] - }, - { - "type": "string", - "enum": [ - "two" - ] - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "number", - "enum": [ - 1 - ] - }, - { - "type": "string", - "enum": [ - "two" - ] - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/DynamicConstant.json b/test/schemas/llm.application/3.0/DynamicConstant.json index 4dbd4019d2..0024fae738 100644 --- a/test/schemas/llm.application/3.0/DynamicConstant.json +++ b/test/schemas/llm.application/3.0/DynamicConstant.json @@ -314,6 +314,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/DynamicEnumeration.json b/test/schemas/llm.application/3.0/DynamicEnumeration.json index 8408512140..1ae5ace0fd 100644 --- a/test/schemas/llm.application/3.0/DynamicEnumeration.json +++ b/test/schemas/llm.application/3.0/DynamicEnumeration.json @@ -418,6 +418,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/DynamicNever.json b/test/schemas/llm.application/3.0/DynamicNever.json index 32fbaaec11..a39d27c5ff 100644 --- a/test/schemas/llm.application/3.0/DynamicNever.json +++ b/test/schemas/llm.application/3.0/DynamicNever.json @@ -98,6 +98,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/DynamicUndefined.json b/test/schemas/llm.application/3.0/DynamicUndefined.json index 32fbaaec11..a39d27c5ff 100644 --- a/test/schemas/llm.application/3.0/DynamicUndefined.json +++ b/test/schemas/llm.application/3.0/DynamicUndefined.json @@ -98,6 +98,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectAlias.json b/test/schemas/llm.application/3.0/ObjectAlias.json index 37a871fb3e..94066bde6f 100644 --- a/test/schemas/llm.application/3.0/ObjectAlias.json +++ b/test/schemas/llm.application/3.0/ObjectAlias.json @@ -490,6 +490,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectDate.json b/test/schemas/llm.application/3.0/ObjectDate.json index 78ad196614..dc9a8ce4d1 100644 --- a/test/schemas/llm.application/3.0/ObjectDate.json +++ b/test/schemas/llm.application/3.0/ObjectDate.json @@ -346,6 +346,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectDescription.json b/test/schemas/llm.application/3.0/ObjectDescription.json index 4662bf6840..ab4dedbb2f 100644 --- a/test/schemas/llm.application/3.0/ObjectDescription.json +++ b/test/schemas/llm.application/3.0/ObjectDescription.json @@ -384,6 +384,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectGeneric.json b/test/schemas/llm.application/3.0/ObjectGeneric.json deleted file mode 100644 index 50989320ae..0000000000 --- a/test/schemas/llm.application/3.0/ObjectGeneric.json +++ /dev/null @@ -1,1303 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectGenericAlias.json b/test/schemas/llm.application/3.0/ObjectGenericAlias.json index 3c55671e8d..4ddcaea48b 100644 --- a/test/schemas/llm.application/3.0/ObjectGenericAlias.json +++ b/test/schemas/llm.application/3.0/ObjectGenericAlias.json @@ -146,6 +146,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectGenericArray.json b/test/schemas/llm.application/3.0/ObjectGenericArray.json index 8bfde01f12..27e448d9e9 100644 --- a/test/schemas/llm.application/3.0/ObjectGenericArray.json +++ b/test/schemas/llm.application/3.0/ObjectGenericArray.json @@ -474,6 +474,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectGenericUnion.json b/test/schemas/llm.application/3.0/ObjectGenericUnion.json index ee25d69674..eca863991e 100644 --- a/test/schemas/llm.application/3.0/ObjectGenericUnion.json +++ b/test/schemas/llm.application/3.0/ObjectGenericUnion.json @@ -2618,6 +2618,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectHierarchical.json b/test/schemas/llm.application/3.0/ObjectHierarchical.json deleted file mode 100644 index 62dd4087cf..0000000000 --- a/test/schemas/llm.application/3.0/ObjectHierarchical.json +++ /dev/null @@ -1,2399 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false, - "nullable": true - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false, - "nullable": true - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - }, - "second": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false, - "nullable": true - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false, - "nullable": true - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false, - "nullable": true - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "second": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false, - "nullable": true - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "third": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false, - "nullable": true - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false, - "nullable": true - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectInternal.json b/test/schemas/llm.application/3.0/ObjectInternal.json index 293b284694..48914fae21 100644 --- a/test/schemas/llm.application/3.0/ObjectInternal.json +++ b/test/schemas/llm.application/3.0/ObjectInternal.json @@ -178,6 +178,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectIntersection.json b/test/schemas/llm.application/3.0/ObjectIntersection.json index 68164d27d6..0895e37b41 100644 --- a/test/schemas/llm.application/3.0/ObjectIntersection.json +++ b/test/schemas/llm.application/3.0/ObjectIntersection.json @@ -210,6 +210,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectJsonTag.json b/test/schemas/llm.application/3.0/ObjectJsonTag.json index ce029d0be0..abe1f672cb 100644 --- a/test/schemas/llm.application/3.0/ObjectJsonTag.json +++ b/test/schemas/llm.application/3.0/ObjectJsonTag.json @@ -298,6 +298,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectLiteralProperty.json b/test/schemas/llm.application/3.0/ObjectLiteralProperty.json index 2a36635632..c623b618ae 100644 --- a/test/schemas/llm.application/3.0/ObjectLiteralProperty.json +++ b/test/schemas/llm.application/3.0/ObjectLiteralProperty.json @@ -178,6 +178,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectLiteralType.json b/test/schemas/llm.application/3.0/ObjectLiteralType.json index fe70b9b2bc..c9d148a877 100644 --- a/test/schemas/llm.application/3.0/ObjectLiteralType.json +++ b/test/schemas/llm.application/3.0/ObjectLiteralType.json @@ -210,6 +210,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectNullable.json b/test/schemas/llm.application/3.0/ObjectNullable.json index ee1e0e77d8..f8bfcc7367 100644 --- a/test/schemas/llm.application/3.0/ObjectNullable.json +++ b/test/schemas/llm.application/3.0/ObjectNullable.json @@ -930,6 +930,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectOptional.json b/test/schemas/llm.application/3.0/ObjectOptional.json index 6c31b1ba9e..c4ae58b00f 100644 --- a/test/schemas/llm.application/3.0/ObjectOptional.json +++ b/test/schemas/llm.application/3.0/ObjectOptional.json @@ -202,6 +202,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectPartial.json b/test/schemas/llm.application/3.0/ObjectPartial.json index c19f2b5de9..b8b0ce410e 100644 --- a/test/schemas/llm.application/3.0/ObjectPartial.json +++ b/test/schemas/llm.application/3.0/ObjectPartial.json @@ -1181,6 +1181,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectPartialAndRequired.json b/test/schemas/llm.application/3.0/ObjectPartialAndRequired.json index 94e7c7ed9b..fbe5f9e55d 100644 --- a/test/schemas/llm.application/3.0/ObjectPartialAndRequired.json +++ b/test/schemas/llm.application/3.0/ObjectPartialAndRequired.json @@ -898,6 +898,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectPrimitive.json b/test/schemas/llm.application/3.0/ObjectPrimitive.json index aa43c44c3b..941fb8a497 100644 --- a/test/schemas/llm.application/3.0/ObjectPrimitive.json +++ b/test/schemas/llm.application/3.0/ObjectPrimitive.json @@ -602,6 +602,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectPropertyNullable.json b/test/schemas/llm.application/3.0/ObjectPropertyNullable.json deleted file mode 100644 index 542f0b11a4..0000000000 --- a/test/schemas/llm.application/3.0/ObjectPropertyNullable.json +++ /dev/null @@ -1,847 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string", - "nullable": true - }, - "grade": { - "type": "number" - }, - "serial": { - "type": "number", - "nullable": true - }, - "activated": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string", - "nullable": true - }, - "grade": { - "type": "number" - }, - "serial": { - "type": "number", - "nullable": true - }, - "activated": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string", - "nullable": true - }, - "grade": { - "type": "number" - }, - "serial": { - "type": "number", - "nullable": true - }, - "activated": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string", - "nullable": true - }, - "grade": { - "type": "number" - }, - "serial": { - "type": "number", - "nullable": true - }, - "activated": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string", - "nullable": true - }, - "grade": { - "type": "number" - }, - "serial": { - "type": "number", - "nullable": true - }, - "activated": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string", - "nullable": true - }, - "grade": { - "type": "number" - }, - "serial": { - "type": "number", - "nullable": true - }, - "activated": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string", - "nullable": true - }, - "grade": { - "type": "number" - }, - "serial": { - "type": "number", - "nullable": true - }, - "activated": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string", - "nullable": true - }, - "grade": { - "type": "number" - }, - "serial": { - "type": "number", - "nullable": true - }, - "activated": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectRecursive.json b/test/schemas/llm.application/3.0/ObjectRecursive.json index 6ea85d6def..da700ac1f8 100644 --- a/test/schemas/llm.application/3.0/ObjectRecursive.json +++ b/test/schemas/llm.application/3.0/ObjectRecursive.json @@ -1442,6 +1442,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectRequired.json b/test/schemas/llm.application/3.0/ObjectRequired.json index ee3fdcdf56..aacb2b4a74 100644 --- a/test/schemas/llm.application/3.0/ObjectRequired.json +++ b/test/schemas/llm.application/3.0/ObjectRequired.json @@ -1037,6 +1037,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectSimple.json b/test/schemas/llm.application/3.0/ObjectSimple.json index 333220bda8..cffb245002 100644 --- a/test/schemas/llm.application/3.0/ObjectSimple.json +++ b/test/schemas/llm.application/3.0/ObjectSimple.json @@ -786,6 +786,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectTuple.json b/test/schemas/llm.application/3.0/ObjectTuple.json deleted file mode 100644 index dc2c9c399b..0000000000 --- a/test/schemas/llm.application/3.0/ObjectTuple.json +++ /dev/null @@ -1,447 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectUndefined.json b/test/schemas/llm.application/3.0/ObjectUndefined.json index 0621669fab..48342e433a 100644 --- a/test/schemas/llm.application/3.0/ObjectUndefined.json +++ b/test/schemas/llm.application/3.0/ObjectUndefined.json @@ -418,6 +418,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectUnionComposite.json b/test/schemas/llm.application/3.0/ObjectUnionComposite.json index ac64c6cee0..c4a66c8784 100644 --- a/test/schemas/llm.application/3.0/ObjectUnionComposite.json +++ b/test/schemas/llm.application/3.0/ObjectUnionComposite.json @@ -3018,6 +3018,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectUnionCompositePointer.json b/test/schemas/llm.application/3.0/ObjectUnionCompositePointer.json index 54cab56397..072c4f01d8 100644 --- a/test/schemas/llm.application/3.0/ObjectUnionCompositePointer.json +++ b/test/schemas/llm.application/3.0/ObjectUnionCompositePointer.json @@ -3162,6 +3162,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectUnionDouble.json b/test/schemas/llm.application/3.0/ObjectUnionDouble.json index ee2e92b403..b4556db514 100644 --- a/test/schemas/llm.application/3.0/ObjectUnionDouble.json +++ b/test/schemas/llm.application/3.0/ObjectUnionDouble.json @@ -1218,6 +1218,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectUnionExplicit.json b/test/schemas/llm.application/3.0/ObjectUnionExplicit.json index 059ab6a309..8011b9cad6 100644 --- a/test/schemas/llm.application/3.0/ObjectUnionExplicit.json +++ b/test/schemas/llm.application/3.0/ObjectUnionExplicit.json @@ -3050,6 +3050,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectUnionExplicitPointer.json b/test/schemas/llm.application/3.0/ObjectUnionExplicitPointer.json index a49bb9dc31..3c19f95e0d 100644 --- a/test/schemas/llm.application/3.0/ObjectUnionExplicitPointer.json +++ b/test/schemas/llm.application/3.0/ObjectUnionExplicitPointer.json @@ -3194,6 +3194,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectUnionImplicit.json b/test/schemas/llm.application/3.0/ObjectUnionImplicit.json index b7c889e74a..52a35be925 100644 --- a/test/schemas/llm.application/3.0/ObjectUnionImplicit.json +++ b/test/schemas/llm.application/3.0/ObjectUnionImplicit.json @@ -3506,6 +3506,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ObjectUnionNonPredictable.json b/test/schemas/llm.application/3.0/ObjectUnionNonPredictable.json index 0b6f223997..f3892f42b6 100644 --- a/test/schemas/llm.application/3.0/ObjectUnionNonPredictable.json +++ b/test/schemas/llm.application/3.0/ObjectUnionNonPredictable.json @@ -826,6 +826,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TemplateAtomic.json b/test/schemas/llm.application/3.0/TemplateAtomic.json index 2ed02d9f45..d5d9ef3a8d 100644 --- a/test/schemas/llm.application/3.0/TemplateAtomic.json +++ b/test/schemas/llm.application/3.0/TemplateAtomic.json @@ -458,6 +458,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TemplateConstant.json b/test/schemas/llm.application/3.0/TemplateConstant.json index b1ad910b05..5b2f88e22e 100644 --- a/test/schemas/llm.application/3.0/TemplateConstant.json +++ b/test/schemas/llm.application/3.0/TemplateConstant.json @@ -474,6 +474,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TemplateUnion.json b/test/schemas/llm.application/3.0/TemplateUnion.json index 19e7a711cd..31c3bc7a19 100644 --- a/test/schemas/llm.application/3.0/TemplateUnion.json +++ b/test/schemas/llm.application/3.0/TemplateUnion.json @@ -610,6 +610,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ToJsonArray.json b/test/schemas/llm.application/3.0/ToJsonArray.json deleted file mode 100644 index d356cb6162..0000000000 --- a/test/schemas/llm.application/3.0/ToJsonArray.json +++ /dev/null @@ -1,391 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ToJsonAtomicSimple.json b/test/schemas/llm.application/3.0/ToJsonAtomicSimple.json deleted file mode 100644 index 36da4496a6..0000000000 --- a/test/schemas/llm.application/3.0/ToJsonAtomicSimple.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ToJsonAtomicUnion.json b/test/schemas/llm.application/3.0/ToJsonAtomicUnion.json index 55675ef97e..06f075be84 100644 --- a/test/schemas/llm.application/3.0/ToJsonAtomicUnion.json +++ b/test/schemas/llm.application/3.0/ToJsonAtomicUnion.json @@ -202,6 +202,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ToJsonDouble.json b/test/schemas/llm.application/3.0/ToJsonDouble.json index 79d70087d8..37187004ba 100644 --- a/test/schemas/llm.application/3.0/ToJsonDouble.json +++ b/test/schemas/llm.application/3.0/ToJsonDouble.json @@ -178,6 +178,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ToJsonNull.json b/test/schemas/llm.application/3.0/ToJsonNull.json index 3fcdd389e2..ab94aed0d5 100644 --- a/test/schemas/llm.application/3.0/ToJsonNull.json +++ b/test/schemas/llm.application/3.0/ToJsonNull.json @@ -69,6 +69,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ToJsonTuple.json b/test/schemas/llm.application/3.0/ToJsonTuple.json deleted file mode 100644 index 7bd69ce428..0000000000 --- a/test/schemas/llm.application/3.0/ToJsonTuple.json +++ /dev/null @@ -1,327 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 4, - "maxItems": 4, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/ToJsonUnion.json b/test/schemas/llm.application/3.0/ToJsonUnion.json index 00bc551850..10560fe071 100644 --- a/test/schemas/llm.application/3.0/ToJsonUnion.json +++ b/test/schemas/llm.application/3.0/ToJsonUnion.json @@ -658,6 +658,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TupleHierarchical.json b/test/schemas/llm.application/3.0/TupleHierarchical.json deleted file mode 100644 index 538b362f5c..0000000000 --- a/test/schemas/llm.application/3.0/TupleHierarchical.json +++ /dev/null @@ -1,1039 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 5, - "maxItems": 5 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 5, - "maxItems": 5 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 5, - "maxItems": 5, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 5, - "maxItems": 5 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 5, - "maxItems": 5, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 5, - "maxItems": 5, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 5, - "maxItems": 5, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 5, - "maxItems": 5, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TupleRestArray.json b/test/schemas/llm.application/3.0/TupleRestArray.json deleted file mode 100644 index ad381480d1..0000000000 --- a/test/schemas/llm.application/3.0/TupleRestArray.json +++ /dev/null @@ -1,215 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 2 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 2 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 2, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 2 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 2, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 2, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 2, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 2, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TupleRestAtomic.json b/test/schemas/llm.application/3.0/TupleRestAtomic.json deleted file mode 100644 index e3a898c8fd..0000000000 --- a/test/schemas/llm.application/3.0/TupleRestAtomic.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 2 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 2 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 2 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TupleRestObject.json b/test/schemas/llm.application/3.0/TupleRestObject.json deleted file mode 100644 index a1c849fbfc..0000000000 --- a/test/schemas/llm.application/3.0/TupleRestObject.json +++ /dev/null @@ -1,263 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2 - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2 - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2 - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "nullable": true - }, - "second": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "nullable": true - }, - "third": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagArray.json b/test/schemas/llm.application/3.0/TypeTagArray.json index 51e799de72..7f0e87a764 100644 --- a/test/schemas/llm.application/3.0/TypeTagArray.json +++ b/test/schemas/llm.application/3.0/TypeTagArray.json @@ -594,6 +594,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagArrayUnion.json b/test/schemas/llm.application/3.0/TypeTagArrayUnion.json index e3ac7f1b3b..13a316942b 100644 --- a/test/schemas/llm.application/3.0/TypeTagArrayUnion.json +++ b/test/schemas/llm.application/3.0/TypeTagArrayUnion.json @@ -506,6 +506,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagAtomicUnion.json b/test/schemas/llm.application/3.0/TypeTagAtomicUnion.json index 6416f03269..759d0eafbc 100644 --- a/test/schemas/llm.application/3.0/TypeTagAtomicUnion.json +++ b/test/schemas/llm.application/3.0/TypeTagAtomicUnion.json @@ -322,6 +322,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagCustom.json b/test/schemas/llm.application/3.0/TypeTagCustom.json index a332145882..dc4b2a933e 100644 --- a/test/schemas/llm.application/3.0/TypeTagCustom.json +++ b/test/schemas/llm.application/3.0/TypeTagCustom.json @@ -274,6 +274,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagDefault.json b/test/schemas/llm.application/3.0/TypeTagDefault.json index 92561964cc..1924ffda3f 100644 --- a/test/schemas/llm.application/3.0/TypeTagDefault.json +++ b/test/schemas/llm.application/3.0/TypeTagDefault.json @@ -874,6 +874,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagFormat.json b/test/schemas/llm.application/3.0/TypeTagFormat.json index 99ea322095..c27b31454e 100644 --- a/test/schemas/llm.application/3.0/TypeTagFormat.json +++ b/test/schemas/llm.application/3.0/TypeTagFormat.json @@ -994,6 +994,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagLength.json b/test/schemas/llm.application/3.0/TypeTagLength.json index 167d18d8cf..53de8de505 100644 --- a/test/schemas/llm.application/3.0/TypeTagLength.json +++ b/test/schemas/llm.application/3.0/TypeTagLength.json @@ -434,6 +434,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagMatrix.json b/test/schemas/llm.application/3.0/TypeTagMatrix.json index c2c6defca8..fdd0a5fd65 100644 --- a/test/schemas/llm.application/3.0/TypeTagMatrix.json +++ b/test/schemas/llm.application/3.0/TypeTagMatrix.json @@ -234,6 +234,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagObjectUnion.json b/test/schemas/llm.application/3.0/TypeTagObjectUnion.json index a0f90710a2..80e3536a3d 100644 --- a/test/schemas/llm.application/3.0/TypeTagObjectUnion.json +++ b/test/schemas/llm.application/3.0/TypeTagObjectUnion.json @@ -322,6 +322,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagPattern.json b/test/schemas/llm.application/3.0/TypeTagPattern.json index 8b87002e2f..d19dd35b75 100644 --- a/test/schemas/llm.application/3.0/TypeTagPattern.json +++ b/test/schemas/llm.application/3.0/TypeTagPattern.json @@ -274,6 +274,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagRange.json b/test/schemas/llm.application/3.0/TypeTagRange.json index 3e987b2a47..13e050dc69 100644 --- a/test/schemas/llm.application/3.0/TypeTagRange.json +++ b/test/schemas/llm.application/3.0/TypeTagRange.json @@ -658,6 +658,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagTuple.json b/test/schemas/llm.application/3.0/TypeTagTuple.json deleted file mode 100644 index d8532f6ee8..0000000000 --- a/test/schemas/llm.application/3.0/TypeTagTuple.json +++ /dev/null @@ -1,439 +0,0 @@ -{ - "model": "3.0", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - }, - "second": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false, - "nullable": true - }, - "second": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false, - "nullable": true - }, - "third": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false, - "nullable": true - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.0/TypeTagType.json b/test/schemas/llm.application/3.0/TypeTagType.json index b208e1f544..a5d0a43f34 100644 --- a/test/schemas/llm.application/3.0/TypeTagType.json +++ b/test/schemas/llm.application/3.0/TypeTagType.json @@ -434,6 +434,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayAny.json b/test/schemas/llm.application/3.1/ArrayAny.json index 7ed612c5a9..d672e058cc 100644 --- a/test/schemas/llm.application/3.1/ArrayAny.json +++ b/test/schemas/llm.application/3.1/ArrayAny.json @@ -22,105 +22,6 @@ "items": {} }, "nullables1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -132,105 +33,6 @@ ] }, "nullables2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -242,105 +44,6 @@ ] }, "both1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -352,105 +55,6 @@ ] }, "both2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -462,105 +66,6 @@ ] }, "both3": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -578,8 +83,13 @@ }, "required": [ "anys", + "undefindable1", + "undefindable2", "nullables1", "nullables2", + "both1", + "both2", + "both3", "union" ], "additionalProperties": false @@ -588,7 +98,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -613,105 +124,6 @@ "items": {} }, "nullables1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -723,105 +135,6 @@ ] }, "nullables2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -833,105 +146,6 @@ ] }, "both1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -943,105 +157,6 @@ ] }, "both2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1053,105 +168,6 @@ ] }, "both3": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1169,111 +185,18 @@ }, "required": [ "anys", + "undefindable1", + "undefindable2", "nullables1", "nullables2", + "both1", + "both2", + "both3", "union" ], "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAny" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1294,105 +217,6 @@ "items": {} }, "nullables1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1404,105 +228,6 @@ ] }, "nullables2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1514,105 +239,6 @@ ] }, "both1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1624,105 +250,6 @@ ] }, "both2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1734,105 +261,6 @@ ] }, "both3": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1850,8 +278,13 @@ }, "required": [ "anys", + "undefindable1", + "undefindable2", "nullables1", "nullables2", + "both1", + "both2", + "both3", "union" ], "additionalProperties": false @@ -1863,7 +296,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -1881,105 +315,6 @@ "items": {} }, "nullables1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1991,105 +326,6 @@ ] }, "nullables2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2101,105 +337,6 @@ ] }, "both1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2211,105 +348,6 @@ ] }, "both2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2321,105 +359,6 @@ ] }, "both3": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2437,8 +376,13 @@ }, "required": [ "anys", + "undefindable1", + "undefindable2", "nullables1", "nullables2", + "both1", + "both2", + "both3", "union" ], "additionalProperties": false @@ -2451,104 +395,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAny" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2569,105 +415,6 @@ "items": {} }, "nullables1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2679,105 +426,6 @@ ] }, "nullables2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2789,105 +437,6 @@ ] }, "both1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2899,105 +448,6 @@ ] }, "both2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3009,105 +459,6 @@ ] }, "both3": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3125,8 +476,13 @@ }, "required": [ "anys", + "undefindable1", + "undefindable2", "nullables1", "nullables2", + "both1", + "both2", + "both3", "union" ], "additionalProperties": false @@ -3134,104 +490,6 @@ ] }, "second": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAny" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3252,105 +510,6 @@ "items": {} }, "nullables1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3362,105 +521,6 @@ ] }, "nullables2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3472,105 +532,6 @@ ] }, "both1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3582,105 +543,6 @@ ] }, "both2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3692,105 +554,6 @@ ] }, "both3": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3808,8 +571,13 @@ }, "required": [ "anys", + "undefindable1", + "undefindable2", "nullables1", "nullables2", + "both1", + "both2", + "both3", "union" ], "additionalProperties": false @@ -3817,104 +585,6 @@ ] }, "third": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAny" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3935,105 +605,6 @@ "items": {} }, "nullables1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4045,105 +616,6 @@ ] }, "nullables2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4155,105 +627,6 @@ ] }, "both1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4265,105 +638,6 @@ ] }, "both2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4375,105 +649,6 @@ ] }, "both3": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4491,8 +666,13 @@ }, "required": [ "anys", + "undefindable1", + "undefindable2", "nullables1", "nullables2", + "both1", + "both2", + "both3", "union" ], "additionalProperties": false @@ -4502,109 +682,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAny" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4625,105 +709,6 @@ "items": {} }, "nullables1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4735,105 +720,6 @@ ] }, "nullables2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4845,105 +731,6 @@ ] }, "both1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4955,105 +742,6 @@ ] }, "both2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5065,105 +753,6 @@ ] }, "both3": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5181,8 +770,13 @@ }, "required": [ "anys", + "undefindable1", + "undefindable2", "nullables1", "nullables2", + "both1", + "both2", + "both3", "union" ], "additionalProperties": false @@ -5194,6 +788,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayAtomicAlias.json b/test/schemas/llm.application/3.1/ArrayAtomicAlias.json deleted file mode 100644 index b5c28eafea..0000000000 --- a/test/schemas/llm.application/3.1/ArrayAtomicAlias.json +++ /dev/null @@ -1,522 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ArrayAtomicAlias": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasboolean" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasnumber" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasstring" - } - ], - "additionalItems": false - }, - "ArrayAtomicAlias.Aliasboolean": { - "type": "array", - "items": { - "type": "boolean" - } - }, - "ArrayAtomicAlias.Aliasnumber": { - "type": "array", - "items": { - "type": "number" - } - }, - "ArrayAtomicAlias.Aliasstring": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ArrayAtomicAlias": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasboolean" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasnumber" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasstring" - } - ], - "additionalItems": false - }, - "ArrayAtomicAlias.Aliasboolean": { - "type": "array", - "items": { - "type": "boolean" - } - }, - "ArrayAtomicAlias.Aliasnumber": { - "type": "array", - "items": { - "type": "number" - } - }, - "ArrayAtomicAlias.Aliasstring": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ArrayAtomicAlias": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasboolean" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasnumber" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasstring" - } - ], - "additionalItems": false - }, - "ArrayAtomicAlias.Aliasboolean": { - "type": "array", - "items": { - "type": "boolean" - } - }, - "ArrayAtomicAlias.Aliasnumber": { - "type": "array", - "items": { - "type": "number" - } - }, - "ArrayAtomicAlias.Aliasstring": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ArrayAtomicAlias": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasboolean" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasnumber" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasstring" - } - ], - "additionalItems": false - }, - "ArrayAtomicAlias.Aliasboolean": { - "type": "array", - "items": { - "type": "boolean" - } - }, - "ArrayAtomicAlias.Aliasnumber": { - "type": "array", - "items": { - "type": "number" - } - }, - "ArrayAtomicAlias.Aliasstring": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayAtomicAlias": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasboolean" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasnumber" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias.Aliasstring" - } - ], - "additionalItems": false - }, - "ArrayAtomicAlias.Aliasboolean": { - "type": "array", - "items": { - "type": "boolean" - } - }, - "ArrayAtomicAlias.Aliasnumber": { - "type": "array", - "items": { - "type": "number" - } - }, - "ArrayAtomicAlias.Aliasstring": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayAtomicSimple.json b/test/schemas/llm.application/3.1/ArrayAtomicSimple.json deleted file mode 100644 index b10429c1bc..0000000000 --- a/test/schemas/llm.application/3.1/ArrayAtomicSimple.json +++ /dev/null @@ -1,477 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ArrayAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ArrayAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ArrayAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ArrayAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayHierarchical.json b/test/schemas/llm.application/3.1/ArrayHierarchical.json index 9fdfeedc1d..bc4bc9e8b6 100644 --- a/test/schemas/llm.application/3.1/ArrayHierarchical.json +++ b/test/schemas/llm.application/3.1/ArrayHierarchical.json @@ -136,7 +136,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -272,130 +273,6 @@ } }, "second": { - "components": { - "schemas": { - "ArrayHierarchical": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.ICompany" - } - }, - "ArrayHierarchical.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchical.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchical.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -533,7 +410,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -669,130 +547,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayHierarchical": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.ICompany" - } - }, - "ArrayHierarchical.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchical.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchical.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -926,130 +680,6 @@ ] }, "second": { - "components": { - "schemas": { - "ArrayHierarchical": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.ICompany" - } - }, - "ArrayHierarchical.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchical.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchical.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1183,130 +813,6 @@ ] }, "third": { - "components": { - "schemas": { - "ArrayHierarchical": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.ICompany" - } - }, - "ArrayHierarchical.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchical.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchical.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1442,135 +948,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ArrayHierarchical": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.ICompany" - } - }, - "ArrayHierarchical.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchical.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchical.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchical.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1708,6 +1092,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayHierarchicalPointer.json b/test/schemas/llm.application/3.1/ArrayHierarchicalPointer.json index c851cd21b2..1a3e35bb36 100644 --- a/test/schemas/llm.application/3.1/ArrayHierarchicalPointer.json +++ b/test/schemas/llm.application/3.1/ArrayHierarchicalPointer.json @@ -145,7 +145,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -290,138 +291,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ArrayHierarchicalPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ICompany" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayHierarchicalPointer.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchicalPointer.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchicalPointer.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchicalPointer.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchicalPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -568,7 +437,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -713,138 +583,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayHierarchicalPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ICompany" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayHierarchicalPointer.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchicalPointer.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchicalPointer.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchicalPointer.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchicalPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -987,138 +725,6 @@ ] }, "second": { - "components": { - "schemas": { - "ArrayHierarchicalPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ICompany" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayHierarchicalPointer.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchicalPointer.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchicalPointer.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchicalPointer.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchicalPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1261,138 +867,6 @@ ] }, "third": { - "components": { - "schemas": { - "ArrayHierarchicalPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ICompany" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayHierarchicalPointer.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchicalPointer.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchicalPointer.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchicalPointer.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchicalPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1537,143 +1011,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ArrayHierarchicalPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ICompany" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayHierarchicalPointer.ICompany": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "serial": { - "type": "number" - }, - "name": { - "type": "string" - }, - "established_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "departments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IDepartment" - } - } - }, - "required": [ - "id", - "serial", - "name", - "established_at", - "departments" - ] - }, - "ArrayHierarchicalPointer.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ArrayHierarchicalPointer.IDepartment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sales": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - }, - "employees": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.IEmployee" - } - } - }, - "required": [ - "id", - "code", - "sales", - "created_at", - "employees" - ] - }, - "ArrayHierarchicalPointer.IEmployee": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - }, - "grade": { - "type": "number" - }, - "employeed_at": { - "$ref": "#/components/schemas/ArrayHierarchicalPointer.ITimestamp" - } - }, - "required": [ - "id", - "name", - "age", - "grade", - "employeed_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayHierarchicalPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1820,6 +1164,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayMatrix.json b/test/schemas/llm.application/3.1/ArrayMatrix.json index c4822accba..d3aa803b42 100644 --- a/test/schemas/llm.application/3.1/ArrayMatrix.json +++ b/test/schemas/llm.application/3.1/ArrayMatrix.json @@ -22,7 +22,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -44,34 +45,6 @@ } }, "second": { - "components": { - "schemas": { - "ArrayMatrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "number" - } - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -95,7 +68,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -117,34 +91,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayMatrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "number" - } - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -164,34 +110,6 @@ ] }, "second": { - "components": { - "schemas": { - "ArrayMatrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "number" - } - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -211,34 +129,6 @@ ] }, "third": { - "components": { - "schemas": { - "ArrayMatrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "number" - } - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -260,39 +150,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ArrayMatrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "number" - } - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -316,6 +180,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayRecursive.json b/test/schemas/llm.application/3.1/ArrayRecursive.json index a55975a702..780ccc821a 100644 --- a/test/schemas/llm.application/3.1/ArrayRecursive.json +++ b/test/schemas/llm.application/3.1/ArrayRecursive.json @@ -7,134 +7,21 @@ "type": "object", "properties": { "first": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + }, + "required": [ + "first" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursive.ICategory": { "type": "object", "properties": { "children": { "type": "array", "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursive.ICategory" } }, "id": { @@ -172,11 +59,7 @@ ], "additionalProperties": false } - }, - "required": [ - "first" - ], - "additionalProperties": false + } }, "strict": true }, @@ -186,134 +69,32 @@ "type": "object", "properties": { "first": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + }, + "second": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + ] + } + }, + "required": [ + "first", + "second" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursive.ICategory": { "type": "object", "properties": { "children": { "type": "array", "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursive.ICategory" } }, "id": { @@ -350,413 +131,11 @@ "created_at" ], "additionalProperties": false - }, - "second": { - "components": { - "schemas": { - "ArrayRecursive.ICategory": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayRecursive.ITimestamp" - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ] - }, - "ArrayRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false + } }, "output": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursive.ICategory" }, "strict": true }, @@ -766,909 +145,50 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRecursive.ICategory": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayRecursive.ITimestamp" - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ] - }, - "ArrayRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursive.ICategory" } ] }, "second": { - "components": { - "schemas": { - "ArrayRecursive.ICategory": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayRecursive.ITimestamp" - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ] - }, - "ArrayRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursive.ICategory" } ] }, "third": { - "components": { - "schemas": { - "ArrayRecursive.ICategory": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayRecursive.ITimestamp" - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ] - }, - "ArrayRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursive.ICategory" } ] } }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRecursive.ICategory": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ArrayRecursive.ITimestamp" - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ] - }, - "ArrayRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursive.ICategory" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { + "additionalProperties": false, + "$defs": { + "ArrayRecursive.ICategory": { "type": "object", "properties": { "children": { "type": "array", "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursive.ICategory" } }, "id": { @@ -1706,6 +226,16 @@ ], "additionalProperties": false } + } + }, + "output": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } ] }, "strict": true @@ -1713,6 +243,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayRecursiveUnionExplicit.json b/test/schemas/llm.application/3.1/ArrayRecursiveUnionExplicit.json index cb78828246..07b5a4318e 100644 --- a/test/schemas/llm.application/3.1/ArrayRecursiveUnionExplicit.json +++ b/test/schemas/llm.application/3.1/ArrayRecursiveUnionExplicit.json @@ -9,3826 +9,205 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + } + }, + "required": [ + "first" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicit.IBucket": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] + "width": { + "type": "number" }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] + "height": { + "type": "number" }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] + "url": { + "type": "string" }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] + "size": { + "type": "number" }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] + "type": { + "const": "file" }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] + "extension": { + "const": "jpg" } - } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" + "path": { + "type": "string" + }, + "size": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" + "content": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" + "type": { + "const": "file" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" + "extension": { + "const": "txt" } - ] + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } + "name": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } + "path": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } + "size": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } + "count": { + "type": "number" + }, + "type": { + "const": "file" }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false + "extension": { + "const": "zip" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IShortcut" + } + ] + }, + "ArrayRecursiveUnionExplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" } - ] - } + }, + "type": { + "const": "directory" + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "lnk" + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false } - }, - "required": [ - "first" - ], - "additionalProperties": false + } }, "strict": true }, @@ -3840,4037 +219,10 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" } }, "second": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -7878,3819 +230,7 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" } } ] @@ -11700,69 +240,14 @@ "first", "second" ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicit.IBucket": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IDirectory" }, - "ArrayRecursiveUnionExplicit.IImageFile": { + { "type": "object", "properties": { "id": { @@ -11803,9 +288,10 @@ "size", "type", "extension" - ] + ], + "additionalProperties": false }, - "ArrayRecursiveUnionExplicit.ITextFile": { + { "type": "object", "properties": { "id": { @@ -11838,9 +324,10 @@ "content", "type", "extension" - ] + ], + "additionalProperties": false }, - "ArrayRecursiveUnionExplicit.IZipFile": { + { "type": "object", "properties": { "id": { @@ -11873,3651 +360,83 @@ "count", "type", "extension" - ] + ], + "additionalProperties": false }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IShortcut" } - } + ] }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" + "ArrayRecursiveUnionExplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" + "name": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" + "path": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" + "type": { + "const": "directory" } - ] + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } + "ArrayRecursiveUnionExplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } + "name": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } + "path": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } + "type": { + "const": "file" }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] + "extension": { + "const": "lnk" + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + } + }, + "output": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" } }, "strict": true @@ -15528,221 +447,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -15750,4039 +454,12 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" } } ] }, "second": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -19790,4039 +467,12 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" } } ] }, "third": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -23830,3819 +480,7 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" } } ] @@ -27650,4046 +488,211 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicit.IBucket": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IDirectory" }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] + "name": { + "type": "string" + }, + "path": { + "type": "string" }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] + "width": { + "type": "number" + }, + "height": { + "type": "number" }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] + "url": { + "type": "string" }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] + "size": { + "type": "number" }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] + "type": { + "const": "file" }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] + "extension": { + "const": "jpg" } - } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" + "name": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" + "path": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "const": "file" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" + "extension": { + "const": "txt" } - ] + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } + "name": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } + "path": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } + "size": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } + "count": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false + "type": { + "const": "file" + }, + "extension": { + "const": "zip" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IShortcut" + } + ] + }, + "ArrayRecursiveUnionExplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" } - ] + }, + "type": { + "const": "directory" + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "lnk" + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + } + }, + "output": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" } } ] @@ -31699,6 +702,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayRecursiveUnionExplicitPointer.json b/test/schemas/llm.application/3.1/ArrayRecursiveUnionExplicitPointer.json index 28c7138e16..35ca3f59f6 100644 --- a/test/schemas/llm.application/3.1/ArrayRecursiveUnionExplicitPointer.json +++ b/test/schemas/llm.application/3.1/ArrayRecursiveUnionExplicitPointer.json @@ -12,4069 +12,7 @@ "value": { "type": "array", "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } } }, @@ -4087,7 +25,207 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicitPointer.IBucket": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "jpg" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "txt" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "zip" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IShortcut" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + }, + "type": { + "const": "directory" + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "lnk" + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + } }, "strict": true }, @@ -4102,4069 +240,7 @@ "value": { "type": "array", "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } } }, @@ -8174,237 +250,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -8415,4069 +260,7 @@ "value": { "type": "array", "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } } }, @@ -12493,4077 +276,215 @@ "first", "second" ], - "additionalProperties": false - }, - "output": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicitPointer.IBucket": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] + "path": { + "type": "string" }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] + "width": { + "type": "number" }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] + "height": { + "type": "number" }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] + "url": { + "type": "string" }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] + "size": { + "type": "number" }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] + "type": { + "const": "file" + }, + "extension": { + "const": "jpg" } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" + "name": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" + "path": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" + "size": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } + "content": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } + "type": { + "const": "file" }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false + "extension": { + "const": "txt" + } }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } + "name": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } + "path": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "zip" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IShortcut" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } }, - "required": [ - "value" - ], - "additionalProperties": false + "type": { + "const": "directory" + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "lnk" + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + } + }, + "output": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } } }, @@ -16580,237 +501,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -16821,4069 +511,7 @@ "value": { "type": "array", "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } } }, @@ -20895,237 +523,6 @@ ] }, "second": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -21136,4069 +533,7 @@ "value": { "type": "array", "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } } }, @@ -25210,237 +545,6 @@ ] }, "third": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -25451,4069 +555,7 @@ "value": { "type": "array", "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } } }, @@ -29527,242 +569,212 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicitPointer.IBucket": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "jpg" + } }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "txt" + } }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "zip" + } }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IShortcut" } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] + ] + } }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } + "required": [ + "value" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } + "name": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] + "type": { + "const": "directory" + } }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "lnk" + } }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + } + }, + "output": { "oneOf": [ { "type": "null" @@ -29773,4069 +785,7 @@ "value": { "type": "array", "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" } } }, @@ -33851,6 +801,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayRecursiveUnionImplicit.json b/test/schemas/llm.application/3.1/ArrayRecursiveUnionImplicit.json index 97c8b07d10..9c5cf8fc6f 100644 --- a/test/schemas/llm.application/3.1/ArrayRecursiveUnionImplicit.json +++ b/test/schemas/llm.application/3.1/ArrayRecursiveUnionImplicit.json @@ -9,36925 +9,60 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" } } }, "required": [ "first" ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "second": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionImplicit.IBucket": { "oneOf": [ { - "type": "null" + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IDirectory" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.ISharedDirectory" }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" + "name": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" + "path": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" + "width": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" + "height": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" + "url": { + "type": "string" + }, + "size": { + "type": "number" } - ] + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false }, - "ArrayRecursiveUnionImplicit.IDirectory": { + { "type": "object", "properties": { "id": { @@ -36939,33 +74,25 @@ "path": { "type": "string" }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } + "size": { + "type": "number" + }, + "content": { + "type": "string" } }, "required": [ "id", "name", "path", - "children" - ] + "size", + "content" + ], + "additionalProperties": false }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { + { "type": "object", "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, "id": { "type": "number" }, @@ -36975,22 +102,160 @@ "path": { "type": "string" }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } + "size": { + "type": "number" + }, + "count": { + "type": "number" } }, "required": [ - "access", "id", "name", "path", - "children" + "size", + "count" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IShortcut" + } + ] + }, + "ArrayRecursiveUnionImplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.ISharedDirectory": { + "type": "object", + "properties": { + "access": { + "oneOf": [ + { + "const": "read" + }, + { + "const": "write" + } ] }, - "ArrayRecursiveUnionImplicit.IImageFile": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + } + }, + "strict": true + }, + { + "name": "reduce", + "parameters": { + "type": "object", + "properties": { + "first": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "second": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + ] + } + }, + "required": [ + "first", + "second" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionImplicit.IBucket": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IDirectory" + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.ISharedDirectory" + }, + { "type": "object", "properties": { "id": { @@ -37023,9 +288,10 @@ "height", "url", "size" - ] + ], + "additionalProperties": false }, - "ArrayRecursiveUnionImplicit.ITextFile": { + { "type": "object", "properties": { "id": { @@ -37050,9 +316,10 @@ "path", "size", "content" - ] + ], + "additionalProperties": false }, - "ArrayRecursiveUnionImplicit.IZipFile": { + { "type": "object", "properties": { "id": { @@ -37077,12035 +344,109 @@ "path", "size", "count" - ] + ], + "additionalProperties": false }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IShortcut" } - } + ] }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" + "ArrayRecursiveUnionImplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" + "name": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" + "path": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false + } }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.ISharedDirectory": { + "type": "object", + "properties": { + "access": { + "oneOf": [ + { + "const": "read" }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] + { + "const": "write" } - } + ] }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } + "id": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } + "name": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } + "path": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + } + }, + "output": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" } }, "strict": true @@ -49116,225 +457,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -49342,12439 +464,12 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" } } ] }, "second": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -61782,12439 +477,12 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" } } ] }, "third": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -74222,12215 +490,7 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" } } ] @@ -86438,12446 +498,216 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionImplicit.IBucket": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IDirectory" }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.ISharedDirectory" }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] + "name": { + "type": "string" }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] + "path": { + "type": "string" }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] + "width": { + "type": "number" }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] + "height": { + "type": "number" }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] + "url": { + "type": "string" }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] + "size": { + "type": "number" } - } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" + "name": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" + "path": { + "type": "string" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" + "size": { + "type": "number" }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" + "content": { + "type": "string" } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } + "name": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } + "path": { + "type": "string" }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } + "size": { + "type": "number" }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false + "count": { + "type": "number" + } }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IShortcut" + } + ] + }, + "ArrayRecursiveUnionImplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.ISharedDirectory": { + "type": "object", + "properties": { + "access": { + "oneOf": [ + { + "const": "read" }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false + { + "const": "write" + } + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" } - ] + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + } + }, + "output": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" } } ] @@ -98887,6 +717,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayRepeatedNullable.json b/test/schemas/llm.application/3.1/ArrayRepeatedNullable.json index d3c03c8bf2..6e568a9716 100644 --- a/test/schemas/llm.application/3.1/ArrayRepeatedNullable.json +++ b/test/schemas/llm.application/3.1/ArrayRepeatedNullable.json @@ -7,50 +7,15 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, + "$ref": "#/$defs/ArrayRepeatedNullable" + } + }, + "required": [ + "first" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedNullable": { "oneOf": [ { "type": "null" @@ -62,197 +27,17 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedNullable" } ] + }, + "ArrayArrayRepeatedNullable": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedNullable" + } } - }, - "required": [ - "first" - ], - "additionalProperties": false + } }, "strict": true }, @@ -262,292 +47,19 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] - } - } - ] + "$ref": "#/$defs/ArrayRepeatedNullable" }, "second": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, + "$ref": "#/$defs/ArrayRepeatedNullable" + } + }, + "required": [ + "first", + "second" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedNullable": { "oneOf": [ { "type": "null" @@ -559,440 +71,20 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedNullable" } ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" }, - { - "type": "number" - }, - { + "ArrayArrayRepeatedNullable": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] + "$ref": "#/$defs/ArrayRepeatedNullable" } } - ] + } + }, + "output": { + "$ref": "#/$defs/ArrayRepeatedNullable" }, "strict": true }, @@ -1002,292 +94,12 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] - } - } - ] + "$ref": "#/$defs/ArrayRepeatedNullable" }, "second": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, + "$ref": "#/$defs/ArrayRepeatedNullable" + }, + "third": { "oneOf": [ { "type": "null" @@ -1299,237 +111,19 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedNullable" } ] - }, - "third": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, + } + }, + "required": [ + "first", + "second", + "third" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedNullable": { "oneOf": [ { "type": "null" @@ -1541,501 +135,28 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - } - ] - } - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedNullable" } ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" }, - { - "type": "string" - }, - { - "type": "number" - }, - { + "ArrayArrayRepeatedNullable": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] + "$ref": "#/$defs/ArrayRepeatedNullable" } } - ] + } + }, + "output": { + "$ref": "#/$defs/ArrayRepeatedNullable" }, "strict": true } ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayRepeatedRequired.json b/test/schemas/llm.application/3.1/ArrayRepeatedRequired.json index a34a603c82..00edf05cab 100644 --- a/test/schemas/llm.application/3.1/ArrayRepeatedRequired.json +++ b/test/schemas/llm.application/3.1/ArrayRepeatedRequired.json @@ -7,44 +7,15 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, + "$ref": "#/$defs/ArrayRepeatedRequired" + } + }, + "required": [ + "first" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedRequired": { "oneOf": [ { "type": "string" @@ -53,170 +24,17 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedRequired" } ] + }, + "ArrayArrayRepeatedRequired": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedRequired" + } } - }, - "required": [ - "first" - ], - "additionalProperties": false + } }, "strict": true }, @@ -226,253 +44,9 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] - } - } - ] + "$ref": "#/$defs/ArrayRepeatedRequired" }, "second": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -484,208 +58,7 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - } - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedRequired" } ] } @@ -694,213 +67,31 @@ "first", "second" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" + "additionalProperties": false, + "$defs": { + "ArrayRepeatedRequired": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" + ] }, - { + "ArrayArrayRepeatedRequired": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] + "$ref": "#/$defs/ArrayRepeatedRequired" } } - ] + } + }, + "output": { + "$ref": "#/$defs/ArrayRepeatedRequired" }, "strict": true }, @@ -910,47 +101,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -962,253 +112,11 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - } - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedRequired" } ] }, "second": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1220,253 +128,11 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - } - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedRequired" } ] }, "third": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1478,260 +144,40 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - } - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedRequired" } ] } }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } + "additionalProperties": false, + "$defs": { + "ArrayArrayRepeatedRequired": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedRequired" } + }, + "ArrayRepeatedRequired": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" + } + ] } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, + } + }, + "output": { "oneOf": [ { "type": "null" @@ -1743,208 +189,7 @@ "type": "number" }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - } - } - ] - } - } - ] - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedRequired" } ] }, @@ -1953,6 +198,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayRepeatedUnion.json b/test/schemas/llm.application/3.1/ArrayRepeatedUnion.json index 5c9bae9d51..8dc6fd418f 100644 --- a/test/schemas/llm.application/3.1/ArrayRepeatedUnion.json +++ b/test/schemas/llm.application/3.1/ArrayRepeatedUnion.json @@ -7,110 +7,15 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, + "$ref": "#/$defs/ArrayRepeatedUnion" + } + }, + "required": [ + "first" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedUnion": { "oneOf": [ { "type": "number" @@ -125,663 +30,7 @@ } }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedUnion" }, { "type": "array", @@ -879,12 +128,14 @@ } } ] + }, + "ArrayArrayRepeatedUnion": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedUnion" + } } - }, - "required": [ - "first" - ], - "additionalProperties": false + } }, "strict": true }, @@ -894,111 +145,13 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, + "$ref": "#/$defs/ArrayRepeatedUnion" + }, + "second": { "oneOf": [ + { + "type": "null" + }, { "type": "number" }, @@ -1012,663 +165,7 @@ } }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedUnion" }, { "type": "array", @@ -1766,119 +263,16 @@ } } ] - }, - "second": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, + } + }, + "required": [ + "first", + "second" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedUnion": { "oneOf": [ - { - "type": "null" - }, { "type": "number" }, @@ -1892,876 +286,7 @@ } }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedUnion" }, { "type": "array", @@ -2859,887 +384,17 @@ } } ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { + "ArrayArrayRepeatedUnion": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false + "$ref": "#/$defs/ArrayRepeatedUnion" } } - ] + } + }, + "output": { + "$ref": "#/$defs/ArrayRepeatedUnion" }, "strict": true }, @@ -3749,113 +404,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3873,876 +421,7 @@ } }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedUnion" }, { "type": "array", @@ -4842,53 +521,109 @@ ] }, "second": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedUnion" + }, + { + "type": "array", + "items": { "type": "object", "properties": { "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false }, "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false }, "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false }, "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false } }, "required": [ @@ -4896,59 +631,13 @@ "position", "rotate", "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] + ], + "additionalProperties": false } } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, + ] + }, + "third": { "oneOf": [ { "type": "null" @@ -4966,876 +655,7 @@ } }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedUnion" }, { "type": "array", @@ -5933,119 +753,23 @@ } } ] + } + }, + "required": [ + "first", + "second", + "third" + ], + "additionalProperties": false, + "$defs": { + "ArrayArrayRepeatedUnion": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedUnion" + } }, - "third": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, + "ArrayRepeatedUnion": { "oneOf": [ - { - "type": "null" - }, { "type": "number" }, @@ -6059,876 +783,7 @@ } }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedUnion" }, { "type": "array", @@ -7027,121 +882,9 @@ } ] } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false + } }, "output": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -7159,876 +902,7 @@ } }, { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } + "$ref": "#/$defs/ArrayArrayRepeatedUnion" }, { "type": "array", @@ -8132,6 +1006,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayRepeatedUnionWithTuple.json b/test/schemas/llm.application/3.1/ArrayRepeatedUnionWithTuple.json deleted file mode 100644 index 68234fd6dd..0000000000 --- a/test/schemas/llm.application/3.1/ArrayRepeatedUnionWithTuple.json +++ /dev/null @@ -1,15056 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArraySimple.json b/test/schemas/llm.application/3.1/ArraySimple.json index beacb772a5..0b5ef8f829 100644 --- a/test/schemas/llm.application/3.1/ArraySimple.json +++ b/test/schemas/llm.application/3.1/ArraySimple.json @@ -53,7 +53,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -106,69 +107,6 @@ } }, "second": { - "components": { - "schemas": { - "ArraySimple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IPerson" - } - }, - "ArraySimple.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "hobbies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IHobby" - } - } - }, - "required": [ - "name", - "email", - "hobbies" - ] - }, - "ArraySimple.IHobby": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "body": { - "type": "string" - }, - "rank": { - "type": "number" - } - }, - "required": [ - "name", - "body", - "rank" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArraySimple" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -223,7 +161,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -276,69 +215,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArraySimple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IPerson" - } - }, - "ArraySimple.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "hobbies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IHobby" - } - } - }, - "required": [ - "name", - "email", - "hobbies" - ] - }, - "ArraySimple.IHobby": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "body": { - "type": "string" - }, - "rank": { - "type": "number" - } - }, - "required": [ - "name", - "body", - "rank" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArraySimple" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -389,69 +265,6 @@ ] }, "second": { - "components": { - "schemas": { - "ArraySimple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IPerson" - } - }, - "ArraySimple.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "hobbies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IHobby" - } - } - }, - "required": [ - "name", - "email", - "hobbies" - ] - }, - "ArraySimple.IHobby": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "body": { - "type": "string" - }, - "rank": { - "type": "number" - } - }, - "required": [ - "name", - "body", - "rank" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArraySimple" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -502,69 +315,6 @@ ] }, "third": { - "components": { - "schemas": { - "ArraySimple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IPerson" - } - }, - "ArraySimple.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "hobbies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IHobby" - } - } - }, - "required": [ - "name", - "email", - "hobbies" - ] - }, - "ArraySimple.IHobby": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "body": { - "type": "string" - }, - "rank": { - "type": "number" - } - }, - "required": [ - "name", - "body", - "rank" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArraySimple" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -617,74 +367,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ArraySimple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IPerson" - } - }, - "ArraySimple.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "hobbies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArraySimple.IHobby" - } - } - }, - "required": [ - "name", - "email", - "hobbies" - ] - }, - "ArraySimple.IHobby": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "body": { - "type": "string" - }, - "rank": { - "type": "number" - } - }, - "required": [ - "name", - "body", - "rank" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArraySimple" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -739,6 +428,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ArrayUnion.json b/test/schemas/llm.application/3.1/ArrayUnion.json index 02cf9dea13..88a5ffaf5d 100644 --- a/test/schemas/llm.application/3.1/ArrayUnion.json +++ b/test/schemas/llm.application/3.1/ArrayUnion.json @@ -9,62 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "array", @@ -91,7 +35,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -103,62 +48,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "array", @@ -182,50 +71,6 @@ } }, "second": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -233,62 +78,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "array", @@ -318,67 +107,12 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "array", @@ -409,50 +143,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -460,62 +150,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "array", @@ -541,50 +175,6 @@ ] }, "second": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -592,62 +182,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "array", @@ -673,50 +207,6 @@ ] }, "third": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -724,62 +214,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "array", @@ -807,55 +241,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -863,62 +255,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "array", @@ -948,6 +284,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/AtomicAlias.json b/test/schemas/llm.application/3.1/AtomicAlias.json deleted file mode 100644 index 7d8a25fc04..0000000000 --- a/test/schemas/llm.application/3.1/AtomicAlias.json +++ /dev/null @@ -1,360 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "AtomicAlias": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "AtomicAlias": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "AtomicAlias": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "AtomicAlias": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "AtomicAlias": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicAlias" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/AtomicClass.json b/test/schemas/llm.application/3.1/AtomicClass.json deleted file mode 100644 index 313be669ac..0000000000 --- a/test/schemas/llm.application/3.1/AtomicClass.json +++ /dev/null @@ -1,594 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "AtomicClass": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicClass" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "AtomicClass": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicClass" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "AtomicClass": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicClass" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "AtomicClass": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicClass" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "AtomicClass": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicClass" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/AtomicIntersection.json b/test/schemas/llm.application/3.1/AtomicIntersection.json deleted file mode 100644 index 1c0bd8c3d2..0000000000 --- a/test/schemas/llm.application/3.1/AtomicIntersection.json +++ /dev/null @@ -1,405 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "AtomicIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperboolean" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrappernumber" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperstring" - } - ], - "additionalItems": false - }, - "AtomicIntersection.Wrapperboolean": { - "type": "boolean" - }, - "AtomicIntersection.Wrappernumber": { - "type": "number" - }, - "AtomicIntersection.Wrapperstring": { - "type": "string" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "AtomicIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperboolean" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrappernumber" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperstring" - } - ], - "additionalItems": false - }, - "AtomicIntersection.Wrapperboolean": { - "type": "boolean" - }, - "AtomicIntersection.Wrappernumber": { - "type": "number" - }, - "AtomicIntersection.Wrapperstring": { - "type": "string" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "AtomicIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperboolean" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrappernumber" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperstring" - } - ], - "additionalItems": false - }, - "AtomicIntersection.Wrapperboolean": { - "type": "boolean" - }, - "AtomicIntersection.Wrappernumber": { - "type": "number" - }, - "AtomicIntersection.Wrapperstring": { - "type": "string" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "AtomicIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperboolean" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrappernumber" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperstring" - } - ], - "additionalItems": false - }, - "AtomicIntersection.Wrapperboolean": { - "type": "boolean" - }, - "AtomicIntersection.Wrappernumber": { - "type": "number" - }, - "AtomicIntersection.Wrapperstring": { - "type": "string" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "AtomicIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperboolean" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrappernumber" - }, - { - "$ref": "#/components/schemas/AtomicIntersection.Wrapperstring" - } - ], - "additionalItems": false - }, - "AtomicIntersection.Wrapperboolean": { - "type": "boolean" - }, - "AtomicIntersection.Wrappernumber": { - "type": "number" - }, - "AtomicIntersection.Wrapperstring": { - "type": "string" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/AtomicSimple.json b/test/schemas/llm.application/3.1/AtomicSimple.json deleted file mode 100644 index 5bfea6c6a7..0000000000 --- a/test/schemas/llm.application/3.1/AtomicSimple.json +++ /dev/null @@ -1,360 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "AtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "AtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "AtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "AtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "AtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/AtomicUnion.json b/test/schemas/llm.application/3.1/AtomicUnion.json index 38a9097051..995897ced3 100644 --- a/test/schemas/llm.application/3.1/AtomicUnion.json +++ b/test/schemas/llm.application/3.1/AtomicUnion.json @@ -9,50 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -73,7 +29,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -85,50 +42,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -146,44 +59,6 @@ } }, "second": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -191,50 +66,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -258,55 +89,12 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -331,44 +119,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -376,50 +126,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -439,44 +145,6 @@ ] }, "second": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -484,50 +152,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -547,44 +171,6 @@ ] }, "third": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -592,50 +178,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -657,49 +199,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -707,50 +213,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -774,6 +236,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ClassGetter.json b/test/schemas/llm.application/3.1/ClassGetter.json index a316a920e2..fd09cbc6c0 100644 --- a/test/schemas/llm.application/3.1/ClassGetter.json +++ b/test/schemas/llm.application/3.1/ClassGetter.json @@ -16,48 +16,6 @@ "type": "string" }, "dead": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -79,7 +37,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -98,48 +57,6 @@ "type": "string" }, "dead": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -158,48 +75,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassGetter.Person" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -214,48 +89,6 @@ "type": "string" }, "dead": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -280,7 +113,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -292,48 +126,6 @@ "type": "string" }, "dead": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -359,48 +151,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassGetter.Person" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -415,48 +165,6 @@ "type": "string" }, "dead": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -477,48 +185,6 @@ ] }, "second": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassGetter.Person" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -533,48 +199,6 @@ "type": "string" }, "dead": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -595,48 +219,6 @@ ] }, "third": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassGetter.Person" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -651,48 +233,6 @@ "type": "string" }, "dead": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -715,53 +255,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassGetter.Person" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -776,48 +276,6 @@ "type": "string" }, "dead": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -842,6 +300,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ClassMethod.json b/test/schemas/llm.application/3.1/ClassMethod.json index bb6bcdc4d1..2c530e3e23 100644 --- a/test/schemas/llm.application/3.1/ClassMethod.json +++ b/test/schemas/llm.application/3.1/ClassMethod.json @@ -26,7 +26,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -52,37 +53,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ClassMethod.Animal": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassMethod.Animal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -110,7 +80,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -136,37 +107,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ClassMethod.Animal": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassMethod.Animal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -190,37 +130,6 @@ ] }, "second": { - "components": { - "schemas": { - "ClassMethod.Animal": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassMethod.Animal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -244,37 +153,6 @@ ] }, "third": { - "components": { - "schemas": { - "ClassMethod.Animal": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassMethod.Animal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -300,42 +178,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ClassMethod.Animal": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassMethod.Animal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -363,6 +212,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ClassPropertyAssignment.json b/test/schemas/llm.application/3.1/ClassPropertyAssignment.json index 844200da20..8536f39150 100644 --- a/test/schemas/llm.application/3.1/ClassPropertyAssignment.json +++ b/test/schemas/llm.application/3.1/ClassPropertyAssignment.json @@ -38,7 +38,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -76,55 +77,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ClassPropertyAssignment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "note": { - "const": "assignment" - }, - "editable": { - "const": false - }, - "incremental": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "note", - "editable", - "incremental" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassPropertyAssignment" - } - ], - "discriminator": { - "propertyName": "note", - "mapping": { - "assignment": "#/components/schemas/ClassPropertyAssignment" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -164,7 +116,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -202,55 +155,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ClassPropertyAssignment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "note": { - "const": "assignment" - }, - "editable": { - "const": false - }, - "incremental": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "note", - "editable", - "incremental" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassPropertyAssignment" - } - ], - "discriminator": { - "propertyName": "note", - "mapping": { - "assignment": "#/components/schemas/ClassPropertyAssignment" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -286,55 +190,6 @@ ] }, "second": { - "components": { - "schemas": { - "ClassPropertyAssignment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "note": { - "const": "assignment" - }, - "editable": { - "const": false - }, - "incremental": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "note", - "editable", - "incremental" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassPropertyAssignment" - } - ], - "discriminator": { - "propertyName": "note", - "mapping": { - "assignment": "#/components/schemas/ClassPropertyAssignment" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -370,55 +225,6 @@ ] }, "third": { - "components": { - "schemas": { - "ClassPropertyAssignment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "note": { - "const": "assignment" - }, - "editable": { - "const": false - }, - "incremental": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "note", - "editable", - "incremental" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassPropertyAssignment" - } - ], - "discriminator": { - "propertyName": "note", - "mapping": { - "assignment": "#/components/schemas/ClassPropertyAssignment" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -456,60 +262,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ClassPropertyAssignment": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "note": { - "const": "assignment" - }, - "editable": { - "const": false - }, - "incremental": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "note", - "editable", - "incremental" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ClassPropertyAssignment" - } - ], - "discriminator": { - "propertyName": "note", - "mapping": { - "assignment": "#/components/schemas/ClassPropertyAssignment" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -549,6 +308,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagArray.json b/test/schemas/llm.application/3.1/CommentTagArray.json index 664aa4d4b4..a51c9f832d 100644 --- a/test/schemas/llm.application/3.1/CommentTagArray.json +++ b/test/schemas/llm.application/3.1/CommentTagArray.json @@ -15,42 +15,39 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { "type": "number" - }, - "minItems": 10, - "maxItems": 10 + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -73,7 +70,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -91,42 +89,39 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { "type": "number" - }, - "minItems": 10, - "maxItems": 10 + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -146,86 +141,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "CommentTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -239,42 +154,39 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { "type": "number" - }, - "minItems": 10, - "maxItems": 10 + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -300,7 +212,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -311,42 +224,39 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { "type": "number" - }, - "minItems": 10, - "maxItems": 10 + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -373,86 +283,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -466,42 +296,39 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { "type": "number" - }, - "minItems": 10, - "maxItems": 10 + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -523,86 +350,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -616,42 +363,39 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { "type": "number" - }, - "minItems": 10, - "maxItems": 10 + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -673,86 +417,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -766,42 +430,39 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { "type": "number" - }, - "minItems": 10, - "maxItems": 10 + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -825,91 +486,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -923,42 +506,39 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { "type": "number" - }, - "minItems": 10, - "maxItems": 10 + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -984,6 +564,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagArrayUnion.json b/test/schemas/llm.application/3.1/CommentTagArrayUnion.json index 08d3a99998..dc98103b6c 100644 --- a/test/schemas/llm.application/3.1/CommentTagArrayUnion.json +++ b/test/schemas/llm.application/3.1/CommentTagArrayUnion.json @@ -12,93 +12,23 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -107,16 +37,14 @@ "type": "number" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } } }, "required": [ @@ -132,7 +60,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -147,93 +76,23 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -242,16 +101,14 @@ "type": "number" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } } }, "required": [ @@ -264,76 +121,6 @@ } }, "second": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -344,93 +131,23 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -439,16 +156,14 @@ "type": "number" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } } }, "required": [ @@ -467,7 +182,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -475,93 +191,23 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -570,16 +216,14 @@ "type": "number" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } } }, "required": [ @@ -599,76 +243,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -679,93 +253,23 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -774,16 +278,14 @@ "type": "number" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } } }, "required": [ @@ -798,76 +300,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -878,93 +310,23 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -973,16 +335,14 @@ "type": "number" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } } }, "required": [ @@ -997,76 +357,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1077,93 +367,23 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -1172,16 +392,14 @@ "type": "number" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } } }, "required": [ @@ -1198,81 +416,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1283,93 +433,23 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -1378,16 +458,14 @@ "type": "number" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } } }, "required": [ @@ -1406,6 +484,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagAtomicUnion.json b/test/schemas/llm.application/3.1/CommentTagAtomicUnion.json index d8aa4a45b4..7f703222c3 100644 --- a/test/schemas/llm.application/3.1/CommentTagAtomicUnion.json +++ b/test/schemas/llm.application/3.1/CommentTagAtomicUnion.json @@ -15,69 +15,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -98,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -116,69 +62,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -196,57 +87,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -260,69 +100,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -346,7 +131,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -357,69 +143,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -444,57 +175,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -508,69 +188,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -590,57 +215,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -654,69 +228,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -736,57 +255,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -800,69 +268,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -884,62 +297,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -953,69 +317,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -1039,6 +348,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagDefault.json b/test/schemas/llm.application/3.1/CommentTagDefault.json index 1bc641b736..d990740428 100644 --- a/test/schemas/llm.application/3.1/CommentTagDefault.json +++ b/test/schemas/llm.application/3.1/CommentTagDefault.json @@ -10,167 +10,28 @@ "type": "object", "properties": { "boolean": { - "type": "boolean", "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." + "description": "Default tag on `boolean` typed value.", + "type": "boolean" }, "number": { - "type": "number", "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." + "description": "Default tag on `number` typed value.", + "type": "number" }, "string": { - "type": "string", "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." + "description": "Default tag on `string` typed value.", + "type": "string" }, "text": { - "type": "string", "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." + "description": "Default tag on `string` typed value with long characters.", + "type": "string" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -184,147 +45,8 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -338,147 +60,8 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -492,147 +75,8 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -646,159 +90,17 @@ ] }, "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, "title": "Default value on union typed property", - "description": "Default value on union typed property." + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number" @@ -827,7 +129,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -840,167 +143,28 @@ "type": "object", "properties": { "boolean": { - "type": "boolean", "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." + "description": "Default tag on `boolean` typed value.", + "type": "boolean" }, "number": { - "type": "number", "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." + "description": "Default tag on `number` typed value.", + "type": "number" }, "string": { - "type": "string", "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." + "description": "Default tag on `string` typed value.", + "type": "string" }, "text": { - "type": "string", "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." + "description": "Default tag on `string` typed value with long characters.", + "type": "string" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -1014,147 +178,8 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -1168,147 +193,8 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -1322,147 +208,8 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -1476,159 +223,17 @@ ] }, "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, "title": "Default value on union typed property", - "description": "Default value on union typed property." + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number" @@ -1654,142 +259,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1798,167 +267,28 @@ "type": "object", "properties": { "boolean": { - "type": "boolean", "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." + "description": "Default tag on `boolean` typed value.", + "type": "boolean" }, "number": { - "type": "number", "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." + "description": "Default tag on `number` typed value.", + "type": "number" }, "string": { - "type": "string", "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." + "description": "Default tag on `string` typed value.", + "type": "string" }, "text": { - "type": "string", "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." + "description": "Default tag on `string` typed value with long characters.", + "type": "string" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -1972,147 +302,8 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -2126,147 +317,8 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -2280,147 +332,8 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -2434,159 +347,17 @@ ] }, "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, "title": "Default value on union typed property", - "description": "Default value on union typed property." + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number" @@ -2618,173 +389,35 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "boolean": { - "type": "boolean", "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." + "description": "Default tag on `boolean` typed value.", + "type": "boolean" }, "number": { - "type": "number", "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." + "description": "Default tag on `number` typed value.", + "type": "number" }, "string": { - "type": "string", "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." + "description": "Default tag on `string` typed value.", + "type": "string" }, "text": { - "type": "string", "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." + "description": "Default tag on `string` typed value with long characters.", + "type": "string" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -2798,147 +431,8 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -2952,147 +446,8 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -3106,147 +461,8 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -3260,159 +476,17 @@ ] }, "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, "title": "Default value on union typed property", - "description": "Default value on union typed property." + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number" @@ -3445,142 +519,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3589,167 +527,28 @@ "type": "object", "properties": { "boolean": { - "type": "boolean", "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." + "description": "Default tag on `boolean` typed value.", + "type": "boolean" }, "number": { - "type": "number", "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." + "description": "Default tag on `number` typed value.", + "type": "number" }, "string": { - "type": "string", "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." + "description": "Default tag on `string` typed value.", + "type": "string" }, "text": { - "type": "string", "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." + "description": "Default tag on `string` typed value with long characters.", + "type": "string" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -3763,147 +562,8 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -3917,147 +577,8 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -4071,147 +592,8 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -4225,159 +607,17 @@ ] }, "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, "title": "Default value on union typed property", - "description": "Default value on union typed property." + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number" @@ -4405,142 +645,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4549,167 +653,28 @@ "type": "object", "properties": { "boolean": { - "type": "boolean", "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." + "description": "Default tag on `boolean` typed value.", + "type": "boolean" }, "number": { - "type": "number", "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." + "description": "Default tag on `number` typed value.", + "type": "number" }, "string": { - "type": "string", "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." + "description": "Default tag on `string` typed value.", + "type": "string" }, "text": { - "type": "string", "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." + "description": "Default tag on `string` typed value with long characters.", + "type": "string" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -4723,147 +688,8 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -4877,147 +703,8 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -5031,147 +718,8 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -5185,159 +733,17 @@ ] }, "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, "title": "Default value on union typed property", - "description": "Default value on union typed property." + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number" @@ -5365,142 +771,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5509,167 +779,28 @@ "type": "object", "properties": { "boolean": { - "type": "boolean", "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." + "description": "Default tag on `boolean` typed value.", + "type": "boolean" }, "number": { - "type": "number", "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." + "description": "Default tag on `number` typed value.", + "type": "number" }, "string": { - "type": "string", "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." + "description": "Default tag on `string` typed value.", + "type": "string" }, "text": { - "type": "string", "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." + "description": "Default tag on `string` typed value with long characters.", + "type": "string" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -5683,147 +814,8 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -5837,147 +829,8 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -5991,147 +844,8 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -6145,159 +859,17 @@ ] }, "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, "title": "Default value on union typed property", - "description": "Default value on union typed property." + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number" @@ -6327,147 +899,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -6476,167 +914,28 @@ "type": "object", "properties": { "boolean": { - "type": "boolean", "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." + "description": "Default tag on `boolean` typed value.", + "type": "boolean" }, "number": { - "type": "number", "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." + "description": "Default tag on `number` typed value.", + "type": "number" }, "string": { - "type": "string", "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." + "description": "Default tag on `string` typed value.", + "type": "string" }, "text": { - "type": "string", "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." + "description": "Default tag on `string` typed value with long characters.", + "type": "string" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -6650,147 +949,8 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -6804,147 +964,8 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -6958,147 +979,8 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -7112,159 +994,17 @@ ] }, "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, "title": "Default value on union typed property", - "description": "Default value on union typed property." + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number" @@ -7296,6 +1036,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagFormat.json b/test/schemas/llm.application/3.1/CommentTagFormat.json index 9706c2de8a..bf33f31754 100644 --- a/test/schemas/llm.application/3.1/CommentTagFormat.json +++ b/test/schemas/llm.application/3.1/CommentTagFormat.json @@ -10,92 +10,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -128,7 +128,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -141,92 +142,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -256,139 +257,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "CommentTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -397,92 +265,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -518,98 +386,99 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -646,139 +515,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -787,92 +523,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -904,139 +640,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1045,92 +648,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -1162,139 +765,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1303,92 +773,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -1422,144 +892,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1568,92 +907,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -1689,6 +1028,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagLength.json b/test/schemas/llm.application/3.1/CommentTagLength.json index 0e423d304b..c5c89787d0 100644 --- a/test/schemas/llm.application/3.1/CommentTagLength.json +++ b/test/schemas/llm.application/3.1/CommentTagLength.json @@ -15,27 +15,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -58,7 +55,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -76,27 +74,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -116,71 +111,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "CommentTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -194,27 +124,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -240,7 +167,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -251,27 +179,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -298,71 +223,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -376,27 +236,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -418,71 +275,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -496,27 +288,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -538,71 +327,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -616,27 +340,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -660,76 +381,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -743,27 +401,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -789,6 +444,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagObjectUnion.json b/test/schemas/llm.application/3.1/CommentTagObjectUnion.json index f6c864250d..89f1bccfea 100644 --- a/test/schemas/llm.application/3.1/CommentTagObjectUnion.json +++ b/test/schemas/llm.application/3.1/CommentTagObjectUnion.json @@ -9,70 +9,13 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -84,9 +27,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -101,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -113,70 +56,13 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -188,9 +74,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -202,63 +87,6 @@ } }, "second": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -266,70 +94,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -341,9 +112,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -361,75 +131,19 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -441,9 +155,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -462,63 +175,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -526,70 +182,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -601,9 +200,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -617,63 +215,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -681,70 +222,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -756,9 +240,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -772,63 +255,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -836,70 +262,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -911,9 +280,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -929,68 +297,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -998,70 +311,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -1073,9 +329,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -1093,6 +348,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagPattern.json b/test/schemas/llm.application/3.1/CommentTagPattern.json index 78d69fdfd4..417fcff210 100644 --- a/test/schemas/llm.application/3.1/CommentTagPattern.json +++ b/test/schemas/llm.application/3.1/CommentTagPattern.json @@ -10,20 +10,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -38,7 +38,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -51,20 +52,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -76,49 +77,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "CommentTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -127,20 +85,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -158,26 +116,27 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -196,49 +155,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -247,20 +163,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -274,49 +190,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -325,20 +198,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -352,49 +225,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -403,20 +233,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -432,54 +262,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -488,20 +277,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -519,6 +308,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagRange.json b/test/schemas/llm.application/3.1/CommentTagRange.json index 1811fa263a..e685205fbf 100644 --- a/test/schemas/llm.application/3.1/CommentTagRange.json +++ b/test/schemas/llm.application/3.1/CommentTagRange.json @@ -15,51 +15,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -86,7 +75,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -104,51 +94,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -172,99 +151,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "CommentTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -278,51 +164,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -352,7 +227,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -363,51 +239,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -438,99 +303,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -544,51 +316,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -614,99 +375,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -720,51 +388,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -790,99 +447,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -896,51 +460,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -968,104 +521,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1079,51 +541,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -1153,6 +604,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/CommentTagType.json b/test/schemas/llm.application/3.1/CommentTagType.json index 4dbe9b57fa..c524830345 100644 --- a/test/schemas/llm.application/3.1/CommentTagType.json +++ b/test/schemas/llm.application/3.1/CommentTagType.json @@ -15,14 +15,14 @@ "type": "object", "properties": { "int": { - "type": "integer", "title": "Integer value", - "description": "Integer value." + "description": "Integer value.", + "type": "integer" }, "uint": { - "type": "integer", "title": "Unsigned integer value", - "description": "Unsigned integer value." + "description": "Unsigned integer value.", + "type": "integer" }, "int32": { "type": "integer" @@ -62,7 +62,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -80,14 +81,14 @@ "type": "object", "properties": { "int": { - "type": "integer", "title": "Integer value", - "description": "Integer value." + "description": "Integer value.", + "type": "integer" }, "uint": { - "type": "integer", "title": "Unsigned integer value", - "description": "Unsigned integer value." + "description": "Unsigned integer value.", + "type": "integer" }, "int32": { "type": "integer" @@ -124,75 +125,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "CommentTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer", - "title": "Integer value", - "description": "Integer value." - }, - "uint": { - "type": "integer", - "title": "Unsigned integer value", - "description": "Unsigned integer value." - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -206,14 +138,14 @@ "type": "object", "properties": { "int": { - "type": "integer", "title": "Integer value", - "description": "Integer value." + "description": "Integer value.", + "type": "integer" }, "uint": { - "type": "integer", "title": "Unsigned integer value", - "description": "Unsigned integer value." + "description": "Unsigned integer value.", + "type": "integer" }, "int32": { "type": "integer" @@ -256,7 +188,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -267,14 +200,14 @@ "type": "object", "properties": { "int": { - "type": "integer", "title": "Integer value", - "description": "Integer value." + "description": "Integer value.", + "type": "integer" }, "uint": { - "type": "integer", "title": "Unsigned integer value", - "description": "Unsigned integer value." + "description": "Unsigned integer value.", + "type": "integer" }, "int32": { "type": "integer" @@ -318,75 +251,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "CommentTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer", - "title": "Integer value", - "description": "Integer value." - }, - "uint": { - "type": "integer", - "title": "Unsigned integer value", - "description": "Unsigned integer value." - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -400,14 +264,14 @@ "type": "object", "properties": { "int": { - "type": "integer", "title": "Integer value", - "description": "Integer value." + "description": "Integer value.", + "type": "integer" }, "uint": { - "type": "integer", "title": "Unsigned integer value", - "description": "Unsigned integer value." + "description": "Unsigned integer value.", + "type": "integer" }, "int32": { "type": "integer" @@ -446,75 +310,6 @@ ] }, "second": { - "components": { - "schemas": { - "CommentTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer", - "title": "Integer value", - "description": "Integer value." - }, - "uint": { - "type": "integer", - "title": "Unsigned integer value", - "description": "Unsigned integer value." - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -528,14 +323,14 @@ "type": "object", "properties": { "int": { - "type": "integer", "title": "Integer value", - "description": "Integer value." + "description": "Integer value.", + "type": "integer" }, "uint": { - "type": "integer", "title": "Unsigned integer value", - "description": "Unsigned integer value." + "description": "Unsigned integer value.", + "type": "integer" }, "int32": { "type": "integer" @@ -574,75 +369,6 @@ ] }, "third": { - "components": { - "schemas": { - "CommentTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer", - "title": "Integer value", - "description": "Integer value." - }, - "uint": { - "type": "integer", - "title": "Unsigned integer value", - "description": "Unsigned integer value." - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -656,14 +382,14 @@ "type": "object", "properties": { "int": { - "type": "integer", "title": "Integer value", - "description": "Integer value." + "description": "Integer value.", + "type": "integer" }, "uint": { - "type": "integer", "title": "Unsigned integer value", - "description": "Unsigned integer value." + "description": "Unsigned integer value.", + "type": "integer" }, "int32": { "type": "integer" @@ -704,80 +430,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "CommentTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer", - "title": "Integer value", - "description": "Integer value." - }, - "uint": { - "type": "integer", - "title": "Unsigned integer value", - "description": "Unsigned integer value." - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CommentTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -791,14 +450,14 @@ "type": "object", "properties": { "int": { - "type": "integer", "title": "Integer value", - "description": "Integer value." + "description": "Integer value.", + "type": "integer" }, "uint": { - "type": "integer", "title": "Unsigned integer value", - "description": "Unsigned integer value." + "description": "Unsigned integer value.", + "type": "integer" }, "int32": { "type": "integer" @@ -841,6 +500,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ConstantAtomicAbsorbed.json b/test/schemas/llm.application/3.1/ConstantAtomicAbsorbed.json index 54b3c4d707..d7583b2ceb 100644 --- a/test/schemas/llm.application/3.1/ConstantAtomicAbsorbed.json +++ b/test/schemas/llm.application/3.1/ConstantAtomicAbsorbed.json @@ -28,7 +28,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -56,39 +57,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ConstantAtomicAbsorbed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "default": "something" - }, - "age": { - "type": "number", - "default": 20 - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicAbsorbed" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -118,7 +86,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -146,39 +115,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ConstantAtomicAbsorbed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "default": "something" - }, - "age": { - "type": "number", - "default": 20 - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicAbsorbed" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -204,39 +140,6 @@ ] }, "second": { - "components": { - "schemas": { - "ConstantAtomicAbsorbed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "default": "something" - }, - "age": { - "type": "number", - "default": 20 - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicAbsorbed" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -262,39 +165,6 @@ ] }, "third": { - "components": { - "schemas": { - "ConstantAtomicAbsorbed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "default": "something" - }, - "age": { - "type": "number", - "default": 20 - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicAbsorbed" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -322,44 +192,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ConstantAtomicAbsorbed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "default": "something" - }, - "age": { - "type": "number", - "default": 20 - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicAbsorbed" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -389,6 +228,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ConstantAtomicSimple.json b/test/schemas/llm.application/3.1/ConstantAtomicSimple.json deleted file mode 100644 index ab5905db8e..0000000000 --- a/test/schemas/llm.application/3.1/ConstantAtomicSimple.json +++ /dev/null @@ -1,399 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ConstantAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ConstantAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ConstantAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ConstantAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ConstantAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ConstantAtomicTagged.json b/test/schemas/llm.application/3.1/ConstantAtomicTagged.json index 29e4d1a7d7..afd4da2a01 100644 --- a/test/schemas/llm.application/3.1/ConstantAtomicTagged.json +++ b/test/schemas/llm.application/3.1/ConstantAtomicTagged.json @@ -10,120 +10,24 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "latest" }, { "type": "string", - "format": "uuid" + "description": "@format uuid" } ] }, "age": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": -1 }, { "type": "integer", - "maximum": 100 + "description": "@maximum 100" } ] } @@ -138,7 +42,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -151,120 +56,24 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "latest" }, { "type": "string", - "format": "uuid" + "description": "@format uuid" } ] }, "age": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": -1 }, { "type": "integer", - "maximum": 100 + "description": "@maximum 100" } ] } @@ -276,53 +85,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicTagged" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -331,120 +93,24 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "latest" }, { "type": "string", - "format": "uuid" + "description": "@format uuid" } ] }, "age": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": -1 }, { "type": "integer", - "maximum": 100 + "description": "@maximum 100" } ] } @@ -462,126 +128,31 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "latest" }, { "type": "string", - "format": "uuid" + "description": "@format uuid" } ] }, "age": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": -1 }, { "type": "integer", - "maximum": 100 + "description": "@maximum 100" } ] } @@ -600,53 +171,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicTagged" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -655,120 +179,24 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "latest" }, { "type": "string", - "format": "uuid" + "description": "@format uuid" } ] }, "age": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": -1 }, { "type": "integer", - "maximum": 100 + "description": "@maximum 100" } ] } @@ -782,53 +210,6 @@ ] }, "second": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicTagged" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -837,120 +218,24 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "latest" }, { "type": "string", - "format": "uuid" + "description": "@format uuid" } ] }, "age": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": -1 }, { "type": "integer", - "maximum": 100 + "description": "@maximum 100" } ] } @@ -964,53 +249,6 @@ ] }, "third": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicTagged" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1019,120 +257,24 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "latest" }, { "type": "string", - "format": "uuid" + "description": "@format uuid" } ] }, "age": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": -1 }, { "type": "integer", - "maximum": 100 + "description": "@maximum 100" } ] } @@ -1148,58 +290,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicTagged" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1208,120 +305,24 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "latest" }, { "type": "string", - "format": "uuid" + "description": "@format uuid" } ] }, "age": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": -1 }, { "type": "integer", - "maximum": 100 + "description": "@maximum 100" } ] } @@ -1339,6 +340,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ConstantAtomicUnion.json b/test/schemas/llm.application/3.1/ConstantAtomicUnion.json index 58eb18eb1f..678f76b230 100644 --- a/test/schemas/llm.application/3.1/ConstantAtomicUnion.json +++ b/test/schemas/llm.application/3.1/ConstantAtomicUnion.json @@ -9,78 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": false @@ -116,7 +44,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -128,78 +57,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": false @@ -232,58 +89,6 @@ } }, "second": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -291,78 +96,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": false @@ -401,83 +134,12 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": false @@ -517,58 +179,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -576,78 +186,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": false @@ -682,58 +220,6 @@ ] }, "second": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -741,78 +227,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": false @@ -847,58 +261,6 @@ ] }, "third": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -906,78 +268,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": false @@ -1014,63 +304,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1078,78 +318,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": false @@ -1188,6 +356,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ConstantAtomicWrapper.json b/test/schemas/llm.application/3.1/ConstantAtomicWrapper.json deleted file mode 100644 index addfcf4188..0000000000 --- a/test/schemas/llm.application/3.1/ConstantAtomicWrapper.json +++ /dev/null @@ -1,741 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ConstantAtomicWrapper": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerboolean" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointernumber" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerstring" - } - ], - "additionalItems": false - }, - "ConstantAtomicWrapper.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ConstantAtomicWrapper": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerboolean" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointernumber" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerstring" - } - ], - "additionalItems": false - }, - "ConstantAtomicWrapper.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ConstantAtomicWrapper": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerboolean" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointernumber" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerstring" - } - ], - "additionalItems": false - }, - "ConstantAtomicWrapper.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ConstantAtomicWrapper": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerboolean" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointernumber" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerstring" - } - ], - "additionalItems": false - }, - "ConstantAtomicWrapper.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ConstantAtomicWrapper": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerboolean" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointernumber" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper.IPointerstring" - } - ], - "additionalItems": false - }, - "ConstantAtomicWrapper.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ConstantAtomicWrapper.IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantAtomicWrapper" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ConstantConstEnumeration.json b/test/schemas/llm.application/3.1/ConstantConstEnumeration.json index 118cdc4046..71c8c546a2 100644 --- a/test/schemas/llm.application/3.1/ConstantConstEnumeration.json +++ b/test/schemas/llm.application/3.1/ConstantConstEnumeration.json @@ -9,56 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -82,7 +32,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -94,56 +45,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -164,47 +65,6 @@ } }, "second": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantConstEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -212,56 +72,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -288,61 +98,12 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -370,47 +131,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantConstEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -418,56 +138,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -490,47 +160,6 @@ ] }, "second": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantConstEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -538,56 +167,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -610,47 +189,6 @@ ] }, "third": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantConstEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -658,56 +196,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -732,52 +220,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantConstEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -785,56 +234,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -861,6 +260,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ConstantEnumeration.json b/test/schemas/llm.application/3.1/ConstantEnumeration.json index 43525bb909..71c8c546a2 100644 --- a/test/schemas/llm.application/3.1/ConstantEnumeration.json +++ b/test/schemas/llm.application/3.1/ConstantEnumeration.json @@ -9,56 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -82,7 +32,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -94,56 +45,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -164,47 +65,6 @@ } }, "second": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -212,56 +72,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -288,61 +98,12 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -370,47 +131,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -418,56 +138,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -490,47 +160,6 @@ ] }, "second": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -538,56 +167,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -610,47 +189,6 @@ ] }, "third": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -658,56 +196,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -732,52 +220,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -785,56 +234,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 @@ -861,6 +260,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ConstantIntersection.json b/test/schemas/llm.application/3.1/ConstantIntersection.json deleted file mode 100644 index fc0ef142fb..0000000000 --- a/test/schemas/llm.application/3.1/ConstantIntersection.json +++ /dev/null @@ -1,405 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": "two" - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": "two" - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ConstantIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapperfalse" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapper1" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrappertwo" - } - ], - "additionalItems": false - }, - "ConstantIntersection.Wrapperfalse": { - "const": false - }, - "ConstantIntersection.Wrapper1": { - "const": 1 - }, - "ConstantIntersection.Wrappertwo": { - "const": "two" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": "two" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": "two" - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ConstantIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapperfalse" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapper1" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrappertwo" - } - ], - "additionalItems": false - }, - "ConstantIntersection.Wrapperfalse": { - "const": false - }, - "ConstantIntersection.Wrapper1": { - "const": 1 - }, - "ConstantIntersection.Wrappertwo": { - "const": "two" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": "two" - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ConstantIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapperfalse" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapper1" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrappertwo" - } - ], - "additionalItems": false - }, - "ConstantIntersection.Wrapperfalse": { - "const": false - }, - "ConstantIntersection.Wrapper1": { - "const": 1 - }, - "ConstantIntersection.Wrappertwo": { - "const": "two" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": "two" - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ConstantIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapperfalse" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapper1" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrappertwo" - } - ], - "additionalItems": false - }, - "ConstantIntersection.Wrapperfalse": { - "const": false - }, - "ConstantIntersection.Wrapper1": { - "const": 1 - }, - "ConstantIntersection.Wrappertwo": { - "const": "two" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": "two" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ConstantIntersection": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapperfalse" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrapper1" - }, - { - "$ref": "#/components/schemas/ConstantIntersection.Wrappertwo" - } - ], - "additionalItems": false - }, - "ConstantIntersection.Wrapperfalse": { - "const": false - }, - "ConstantIntersection.Wrapper1": { - "const": 1 - }, - "ConstantIntersection.Wrappertwo": { - "const": "two" - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ConstantIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": "two" - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/DynamicConstant.json b/test/schemas/llm.application/3.1/DynamicConstant.json index 9e6be671fc..4cccce7d75 100644 --- a/test/schemas/llm.application/3.1/DynamicConstant.json +++ b/test/schemas/llm.application/3.1/DynamicConstant.json @@ -43,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -86,53 +87,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "DynamicConstant": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "a": { - "type": "number" - }, - "b": { - "type": "number" - }, - "c": { - "type": "number" - }, - "d": { - "type": "number" - } - }, - "required": [ - "a", - "b", - "c", - "d" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -177,7 +131,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -220,53 +175,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "DynamicConstant": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "a": { - "type": "number" - }, - "b": { - "type": "number" - }, - "c": { - "type": "number" - }, - "d": { - "type": "number" - } - }, - "required": [ - "a", - "b", - "c", - "d" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -307,53 +215,6 @@ ] }, "second": { - "components": { - "schemas": { - "DynamicConstant": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "a": { - "type": "number" - }, - "b": { - "type": "number" - }, - "c": { - "type": "number" - }, - "d": { - "type": "number" - } - }, - "required": [ - "a", - "b", - "c", - "d" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -394,53 +255,6 @@ ] }, "third": { - "components": { - "schemas": { - "DynamicConstant": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "a": { - "type": "number" - }, - "b": { - "type": "number" - }, - "c": { - "type": "number" - }, - "d": { - "type": "number" - } - }, - "required": [ - "a", - "b", - "c", - "d" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -483,58 +297,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "DynamicConstant": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "a": { - "type": "number" - }, - "b": { - "type": "number" - }, - "c": { - "type": "number" - }, - "d": { - "type": "number" - } - }, - "required": [ - "a", - "b", - "c", - "d" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -579,6 +348,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/DynamicEnumeration.json b/test/schemas/llm.application/3.1/DynamicEnumeration.json index 5296d7649f..a35cf3b6dd 100644 --- a/test/schemas/llm.application/3.1/DynamicEnumeration.json +++ b/test/schemas/llm.application/3.1/DynamicEnumeration.json @@ -43,7 +43,18 @@ "type": "string" } }, - "required": [], + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], "additionalProperties": false } }, @@ -56,7 +67,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -102,7 +114,18 @@ "type": "string" } }, - "required": [], + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], "additionalProperties": false } }, @@ -112,66 +135,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "DynamicEnumeration": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "ar": { - "type": "string" - }, - "zh-Hans": { - "type": "string" - }, - "zh-Hant": { - "type": "string" - }, - "en": { - "type": "string" - }, - "fr": { - "type": "string" - }, - "de": { - "type": "string" - }, - "ja": { - "type": "string" - }, - "ko": { - "type": "string" - }, - "pt": { - "type": "string" - }, - "ru": { - "type": "string" - } - }, - "required": [] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -213,7 +176,18 @@ "type": "string" } }, - "required": [], + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], "additionalProperties": false } }, @@ -229,7 +203,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -268,7 +243,18 @@ "type": "string" } }, - "required": [], + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], "additionalProperties": false } }, @@ -285,66 +271,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "DynamicEnumeration": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "ar": { - "type": "string" - }, - "zh-Hans": { - "type": "string" - }, - "zh-Hant": { - "type": "string" - }, - "en": { - "type": "string" - }, - "fr": { - "type": "string" - }, - "de": { - "type": "string" - }, - "ja": { - "type": "string" - }, - "ko": { - "type": "string" - }, - "pt": { - "type": "string" - }, - "ru": { - "type": "string" - } - }, - "required": [] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -386,7 +312,18 @@ "type": "string" } }, - "required": [], + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], "additionalProperties": false } }, @@ -398,66 +335,6 @@ ] }, "second": { - "components": { - "schemas": { - "DynamicEnumeration": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "ar": { - "type": "string" - }, - "zh-Hans": { - "type": "string" - }, - "zh-Hant": { - "type": "string" - }, - "en": { - "type": "string" - }, - "fr": { - "type": "string" - }, - "de": { - "type": "string" - }, - "ja": { - "type": "string" - }, - "ko": { - "type": "string" - }, - "pt": { - "type": "string" - }, - "ru": { - "type": "string" - } - }, - "required": [] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -499,7 +376,18 @@ "type": "string" } }, - "required": [], + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], "additionalProperties": false } }, @@ -511,66 +399,6 @@ ] }, "third": { - "components": { - "schemas": { - "DynamicEnumeration": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "ar": { - "type": "string" - }, - "zh-Hans": { - "type": "string" - }, - "zh-Hant": { - "type": "string" - }, - "en": { - "type": "string" - }, - "fr": { - "type": "string" - }, - "de": { - "type": "string" - }, - "ja": { - "type": "string" - }, - "ko": { - "type": "string" - }, - "pt": { - "type": "string" - }, - "ru": { - "type": "string" - } - }, - "required": [] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -612,7 +440,18 @@ "type": "string" } }, - "required": [], + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], "additionalProperties": false } }, @@ -626,71 +465,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "DynamicEnumeration": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "ar": { - "type": "string" - }, - "zh-Hans": { - "type": "string" - }, - "zh-Hant": { - "type": "string" - }, - "en": { - "type": "string" - }, - "fr": { - "type": "string" - }, - "de": { - "type": "string" - }, - "ja": { - "type": "string" - }, - "ko": { - "type": "string" - }, - "pt": { - "type": "string" - }, - "ru": { - "type": "string" - } - }, - "required": [] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicEnumeration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -732,7 +513,18 @@ "type": "string" } }, - "required": [], + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], "additionalProperties": false } }, @@ -748,6 +540,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/DynamicNever.json b/test/schemas/llm.application/3.1/DynamicNever.json index 5d1e01899b..9f7397f87f 100644 --- a/test/schemas/llm.application/3.1/DynamicNever.json +++ b/test/schemas/llm.application/3.1/DynamicNever.json @@ -16,7 +16,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -32,27 +33,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "DynamicNever": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicNever" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -70,7 +50,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -86,27 +67,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "DynamicNever": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicNever" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -120,27 +80,6 @@ ] }, "second": { - "components": { - "schemas": { - "DynamicNever": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicNever" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -154,27 +93,6 @@ ] }, "third": { - "components": { - "schemas": { - "DynamicNever": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicNever" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -190,32 +108,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "DynamicNever": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicNever" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -233,6 +132,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/DynamicUndefined.json b/test/schemas/llm.application/3.1/DynamicUndefined.json index 7146abd510..9f7397f87f 100644 --- a/test/schemas/llm.application/3.1/DynamicUndefined.json +++ b/test/schemas/llm.application/3.1/DynamicUndefined.json @@ -16,7 +16,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -32,27 +33,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "DynamicUndefined": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -70,7 +50,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -86,27 +67,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "DynamicUndefined": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -120,27 +80,6 @@ ] }, "second": { - "components": { - "schemas": { - "DynamicUndefined": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -154,27 +93,6 @@ ] }, "third": { - "components": { - "schemas": { - "DynamicUndefined": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -190,32 +108,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "DynamicUndefined": { - "type": "object", - "properties": {}, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DynamicUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -233,6 +132,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectAlias.json b/test/schemas/llm.application/3.1/ObjectAlias.json index 5cbaab4f40..511ee8c461 100644 --- a/test/schemas/llm.application/3.1/ObjectAlias.json +++ b/test/schemas/llm.application/3.1/ObjectAlias.json @@ -12,96 +12,6 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -118,105 +28,6 @@ "type": "string" }, "sex": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -236,96 +47,6 @@ ] }, "age": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -336,96 +57,6 @@ ] }, "dead": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -451,7 +82,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -466,96 +98,6 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -572,105 +114,6 @@ "type": "string" }, "sex": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -690,96 +133,6 @@ ] }, "age": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -790,96 +143,6 @@ ] }, "dead": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -902,96 +165,6 @@ } }, "second": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectAlias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1002,96 +175,6 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1108,105 +191,6 @@ "type": "string" }, "sex": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1226,96 +210,6 @@ ] }, "age": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1326,96 +220,6 @@ ] }, "dead": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1444,7 +248,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -1452,96 +257,6 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1558,105 +273,6 @@ "type": "string" }, "sex": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1676,96 +292,6 @@ ] }, "age": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1776,96 +302,6 @@ ] }, "dead": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1895,96 +331,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectAlias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1995,96 +341,6 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2101,105 +357,6 @@ "type": "string" }, "sex": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2219,96 +376,6 @@ ] }, "age": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2319,96 +386,6 @@ ] }, "dead": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2433,96 +410,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectAlias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2533,96 +420,6 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2639,105 +436,6 @@ "type": "string" }, "sex": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2757,96 +455,6 @@ ] }, "age": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2857,96 +465,6 @@ ] }, "dead": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2971,96 +489,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectAlias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3071,96 +499,6 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3177,105 +515,6 @@ "type": "string" }, "sex": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3295,96 +534,6 @@ ] }, "age": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3395,96 +544,6 @@ ] }, "dead": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3511,101 +570,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectAlias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3616,96 +587,6 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3722,105 +603,6 @@ "type": "string" }, "sex": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3840,96 +622,6 @@ ] }, "age": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3940,96 +632,6 @@ ] }, "dead": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4058,6 +660,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectDate.json b/test/schemas/llm.application/3.1/ObjectDate.json index ee1b08dc0b..315ae90245 100644 --- a/test/schemas/llm.application/3.1/ObjectDate.json +++ b/test/schemas/llm.application/3.1/ObjectDate.json @@ -10,477 +10,63 @@ "type": "object", "properties": { "classDate": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "date": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date" + "description": "@format date" } ] }, "datetime": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "time": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "time" + "description": "@format time" } ] }, "duration": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "duration" + "description": "@format duration" } ] } }, "required": [ + "classDate", "date", "datetime", "time", @@ -492,7 +78,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -505,477 +92,63 @@ "type": "object", "properties": { "classDate": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "date": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date" + "description": "@format date" } ] }, "datetime": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "time": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "time" + "description": "@format time" } ] }, "duration": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "duration" + "description": "@format duration" } ] } }, "required": [ + "classDate", "date", "datetime", "time", @@ -984,88 +157,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDate" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1074,477 +165,63 @@ "type": "object", "properties": { "classDate": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "date": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date" + "description": "@format date" } ] }, "datetime": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "time": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "time" + "description": "@format time" } ] }, "duration": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "duration" + "description": "@format duration" } ] } }, "required": [ + "classDate", "date", "datetime", "time", @@ -1559,483 +236,70 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "classDate": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "date": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date" + "description": "@format date" } ] }, "datetime": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "time": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "time" + "description": "@format time" } ] }, "duration": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "duration" + "description": "@format duration" } ] } }, "required": [ + "classDate", "date", "datetime", "time", @@ -2051,88 +315,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDate" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2141,477 +323,63 @@ "type": "object", "properties": { "classDate": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "date": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date" + "description": "@format date" } ] }, "datetime": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "time": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "time" + "description": "@format time" } ] }, "duration": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "duration" + "description": "@format duration" } ] } }, "required": [ + "classDate", "date", "datetime", "time", @@ -2622,88 +390,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDate" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2712,477 +398,63 @@ "type": "object", "properties": { "classDate": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "date": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date" + "description": "@format date" } ] }, "datetime": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "time": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "time" + "description": "@format time" } ] }, "duration": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "duration" + "description": "@format duration" } ] } }, "required": [ + "classDate", "date", "datetime", "time", @@ -3193,88 +465,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDate" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3283,477 +473,63 @@ "type": "object", "properties": { "classDate": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "date": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date" + "description": "@format date" } ] }, "datetime": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "time": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "time" + "description": "@format time" } ] }, "duration": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "duration" + "description": "@format duration" } ] } }, "required": [ + "classDate", "date", "datetime", "time", @@ -3766,93 +542,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDate" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3861,477 +557,63 @@ "type": "object", "properties": { "classDate": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "date": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date" + "description": "@format date" } ] }, "datetime": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "time": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "time" + "description": "@format time" } ] }, "duration": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "duration" + "description": "@format duration" } ] } }, "required": [ + "classDate", "date", "datetime", "time", @@ -4346,6 +628,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectDescription.json b/test/schemas/llm.application/3.1/ObjectDescription.json index c67c2523c7..f19c65d723 100644 --- a/test/schemas/llm.application/3.1/ObjectDescription.json +++ b/test/schemas/llm.application/3.1/ObjectDescription.json @@ -7,36 +7,37 @@ "type": "object", "properties": { "first": { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid", "title": "Primary Key", - "description": "Primary Key." + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" }, "deprecated": { - "type": "boolean", - "deprecated": true, "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true }, "title": { - "type": "string", "title": "This is the title", - "description": "Title tag can replace the first line of the comment." + "description": "Title tag can replace the first line of the comment.", + "type": "string" }, "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", "type": "array", "items": { "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + } }, "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" } }, "required": [ @@ -46,15 +47,14 @@ "descriptions", "newLine" ], - "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description.", "additionalProperties": false } }, "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -64,36 +64,37 @@ "type": "object", "properties": { "first": { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid", "title": "Primary Key", - "description": "Primary Key." + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" }, "deprecated": { - "type": "boolean", - "deprecated": true, "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true }, "title": { - "type": "string", "title": "This is the title", - "description": "Title tag can replace the first line of the comment." + "description": "Title tag can replace the first line of the comment.", + "type": "string" }, "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", "type": "array", "items": { "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + } }, "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" } }, "required": [ @@ -103,70 +104,9 @@ "descriptions", "newLine" ], - "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description.", "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectDescription": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid", - "title": "Primary Key", - "description": "Primary Key." - }, - "deprecated": { - "type": "boolean", - "deprecated": true, - "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." - }, - "title": { - "type": "string", - "title": "This is the title", - "description": "Title tag can replace the first line of the comment." - }, - "descriptions": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." - }, - "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." - } - }, - "required": [ - "id", - "deprecated", - "title", - "descriptions", - "newLine" - ], - "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description." - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDescription" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -175,33 +115,32 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid", "title": "Primary Key", - "description": "Primary Key." + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" }, "deprecated": { - "type": "boolean", - "deprecated": true, "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true }, "title": { - "type": "string", "title": "This is the title", - "description": "Title tag can replace the first line of the comment." + "description": "Title tag can replace the first line of the comment.", + "type": "string" }, "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", "type": "array", "items": { "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + } }, "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" } }, "required": [ @@ -222,39 +161,41 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid", "title": "Primary Key", - "description": "Primary Key." + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" }, "deprecated": { - "type": "boolean", - "deprecated": true, "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true }, "title": { - "type": "string", "title": "This is the title", - "description": "Title tag can replace the first line of the comment." + "description": "Title tag can replace the first line of the comment.", + "type": "string" }, "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", "type": "array", "items": { "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + } }, "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" } }, "required": [ @@ -264,8 +205,6 @@ "descriptions", "newLine" ], - "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description.", "additionalProperties": false }, "strict": true @@ -276,65 +215,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectDescription": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid", - "title": "Primary Key", - "description": "Primary Key." - }, - "deprecated": { - "type": "boolean", - "deprecated": true, - "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." - }, - "title": { - "type": "string", - "title": "This is the title", - "description": "Title tag can replace the first line of the comment." - }, - "descriptions": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." - }, - "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." - } - }, - "required": [ - "id", - "deprecated", - "title", - "descriptions", - "newLine" - ], - "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description." - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDescription" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -343,33 +223,32 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid", "title": "Primary Key", - "description": "Primary Key." + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" }, "deprecated": { - "type": "boolean", - "deprecated": true, "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true }, "title": { - "type": "string", "title": "This is the title", - "description": "Title tag can replace the first line of the comment." + "description": "Title tag can replace the first line of the comment.", + "type": "string" }, "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", "type": "array", "items": { "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + } }, "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" } }, "required": [ @@ -386,65 +265,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectDescription": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid", - "title": "Primary Key", - "description": "Primary Key." - }, - "deprecated": { - "type": "boolean", - "deprecated": true, - "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." - }, - "title": { - "type": "string", - "title": "This is the title", - "description": "Title tag can replace the first line of the comment." - }, - "descriptions": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." - }, - "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." - } - }, - "required": [ - "id", - "deprecated", - "title", - "descriptions", - "newLine" - ], - "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description." - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDescription" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -453,33 +273,32 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid", "title": "Primary Key", - "description": "Primary Key." + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" }, "deprecated": { - "type": "boolean", - "deprecated": true, "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true }, "title": { - "type": "string", "title": "This is the title", - "description": "Title tag can replace the first line of the comment." + "description": "Title tag can replace the first line of the comment.", + "type": "string" }, "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", "type": "array", "items": { "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + } }, "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" } }, "required": [ @@ -496,65 +315,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectDescription": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid", - "title": "Primary Key", - "description": "Primary Key." - }, - "deprecated": { - "type": "boolean", - "deprecated": true, - "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." - }, - "title": { - "type": "string", - "title": "This is the title", - "description": "Title tag can replace the first line of the comment." - }, - "descriptions": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." - }, - "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." - } - }, - "required": [ - "id", - "deprecated", - "title", - "descriptions", - "newLine" - ], - "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description." - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDescription" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -563,33 +323,32 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid", "title": "Primary Key", - "description": "Primary Key." + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" }, "deprecated": { - "type": "boolean", - "deprecated": true, "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true }, "title": { - "type": "string", "title": "This is the title", - "description": "Title tag can replace the first line of the comment." + "description": "Title tag can replace the first line of the comment.", + "type": "string" }, "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", "type": "array", "items": { "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + } }, "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" } }, "required": [ @@ -608,70 +367,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectDescription": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid", - "title": "Primary Key", - "description": "Primary Key." - }, - "deprecated": { - "type": "boolean", - "deprecated": true, - "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." - }, - "title": { - "type": "string", - "title": "This is the title", - "description": "Title tag can replace the first line of the comment." - }, - "descriptions": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." - }, - "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." - } - }, - "required": [ - "id", - "deprecated", - "title", - "descriptions", - "newLine" - ], - "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description." - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectDescription" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -680,33 +382,32 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid", "title": "Primary Key", - "description": "Primary Key." + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" }, "deprecated": { - "type": "boolean", - "deprecated": true, "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true }, "title": { - "type": "string", "title": "This is the title", - "description": "Title tag can replace the first line of the comment." + "description": "Title tag can replace the first line of the comment.", + "type": "string" }, "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", "type": "array", "items": { "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + } }, "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" } }, "required": [ @@ -727,6 +428,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectGeneric.json b/test/schemas/llm.application/3.1/ObjectGeneric.json deleted file mode 100644 index 8939451b8c..0000000000 --- a/test/schemas/llm.application/3.1/ObjectGeneric.json +++ /dev/null @@ -1,2019 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ObjectGeneric": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingboolean" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingnumber" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingstring" - } - ], - "additionalItems": false - }, - "ObjectGeneric.ISomethingboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildbooleanboolean": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingnumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildnumbernumber": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildstringstring": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGeneric" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ObjectGeneric": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingboolean" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingnumber" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingstring" - } - ], - "additionalItems": false - }, - "ObjectGeneric.ISomethingboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildbooleanboolean": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingnumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildnumbernumber": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildstringstring": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGeneric" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ObjectGeneric": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingboolean" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingnumber" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingstring" - } - ], - "additionalItems": false - }, - "ObjectGeneric.ISomethingboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildbooleanboolean": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingnumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildnumbernumber": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildstringstring": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGeneric" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectGeneric": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingboolean" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingnumber" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingstring" - } - ], - "additionalItems": false - }, - "ObjectGeneric.ISomethingboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildbooleanboolean": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingnumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildnumbernumber": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildstringstring": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGeneric" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ObjectGeneric": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingboolean" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingnumber" - }, - { - "$ref": "#/components/schemas/ObjectGeneric.ISomethingstring" - } - ], - "additionalItems": false - }, - "ObjectGeneric.ISomethingboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildbooleanboolean" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildbooleanboolean": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingnumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildnumbernumber" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildnumbernumber": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ] - }, - "ObjectGeneric.ISomethingstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGeneric.IChildstringstring" - } - } - }, - "required": [ - "value", - "child", - "elements" - ] - }, - "ObjectGeneric.IChildstringstring": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGeneric" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectGenericAlias.json b/test/schemas/llm.application/3.1/ObjectGenericAlias.json index 11c394994b..1780f1d524 100644 --- a/test/schemas/llm.application/3.1/ObjectGenericAlias.json +++ b/test/schemas/llm.application/3.1/ObjectGenericAlias.json @@ -22,7 +22,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -44,33 +45,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectGenericAlias.Alias": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericAlias.Alias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -94,7 +68,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -116,33 +91,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectGenericAlias.Alias": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericAlias.Alias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -162,33 +110,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectGenericAlias.Alias": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericAlias.Alias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -208,33 +129,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectGenericAlias.Alias": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericAlias.Alias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -256,38 +150,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectGenericAlias.Alias": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericAlias.Alias" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -311,6 +180,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectGenericArray.json b/test/schemas/llm.application/3.1/ObjectGenericArray.json index 6b8b872027..bbfd76026b 100644 --- a/test/schemas/llm.application/3.1/ObjectGenericArray.json +++ b/test/schemas/llm.application/3.1/ObjectGenericArray.json @@ -63,7 +63,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -126,78 +127,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectGenericArray": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/ObjectGenericArray.IPagination" - }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericArray.IPerson" - } - } - }, - "required": [ - "pagination", - "data" - ] - }, - "ObjectGenericArray.IPagination": { - "type": "object", - "properties": { - "page": { - "type": "number" - }, - "limit": { - "type": "number" - }, - "total_count": { - "type": "number" - }, - "total_pages": { - "type": "number" - } - }, - "required": [ - "page", - "limit", - "total_count", - "total_pages" - ] - }, - "ObjectGenericArray.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -262,7 +191,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -325,78 +255,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectGenericArray": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/ObjectGenericArray.IPagination" - }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericArray.IPerson" - } - } - }, - "required": [ - "pagination", - "data" - ] - }, - "ObjectGenericArray.IPagination": { - "type": "object", - "properties": { - "page": { - "type": "number" - }, - "limit": { - "type": "number" - }, - "total_count": { - "type": "number" - }, - "total_pages": { - "type": "number" - } - }, - "required": [ - "page", - "limit", - "total_count", - "total_pages" - ] - }, - "ObjectGenericArray.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -457,78 +315,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectGenericArray": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/ObjectGenericArray.IPagination" - }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericArray.IPerson" - } - } - }, - "required": [ - "pagination", - "data" - ] - }, - "ObjectGenericArray.IPagination": { - "type": "object", - "properties": { - "page": { - "type": "number" - }, - "limit": { - "type": "number" - }, - "total_count": { - "type": "number" - }, - "total_pages": { - "type": "number" - } - }, - "required": [ - "page", - "limit", - "total_count", - "total_pages" - ] - }, - "ObjectGenericArray.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -589,78 +375,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectGenericArray": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/ObjectGenericArray.IPagination" - }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericArray.IPerson" - } - } - }, - "required": [ - "pagination", - "data" - ] - }, - "ObjectGenericArray.IPagination": { - "type": "object", - "properties": { - "page": { - "type": "number" - }, - "limit": { - "type": "number" - }, - "total_count": { - "type": "number" - }, - "total_pages": { - "type": "number" - } - }, - "required": [ - "page", - "limit", - "total_count", - "total_pages" - ] - }, - "ObjectGenericArray.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -723,83 +437,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectGenericArray": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/ObjectGenericArray.IPagination" - }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericArray.IPerson" - } - } - }, - "required": [ - "pagination", - "data" - ] - }, - "ObjectGenericArray.IPagination": { - "type": "object", - "properties": { - "page": { - "type": "number" - }, - "limit": { - "type": "number" - }, - "total_count": { - "type": "number" - }, - "total_pages": { - "type": "number" - } - }, - "required": [ - "page", - "limit", - "total_count", - "total_pages" - ] - }, - "ObjectGenericArray.IPerson": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "name", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -864,6 +508,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectGenericUnion.json b/test/schemas/llm.application/3.1/ObjectGenericUnion.json index 7c722cbf39..6912c54cd4 100644 --- a/test/schemas/llm.application/3.1/ObjectGenericUnion.json +++ b/test/schemas/llm.application/3.1/ObjectGenericUnion.json @@ -10,241 +10,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -253,241 +18,176 @@ "type": "string" }, "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false } }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] + "created_at": { + "type": "string" + } }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] + "created_at": { + "type": "string" }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] + "title": { + "type": "string" }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] + "body": { + "type": "string" }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } } - ] - }, - "recursive": 3, - "visited": {}, + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { "oneOf": [ { "type": "null" @@ -527,241 +227,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -819,6 +284,9 @@ "items": { "type": "object", "properties": { + "score": { + "type": "number" + }, "id": { "type": "string" }, @@ -840,241 +308,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1098,6 +331,7 @@ } }, "required": [ + "score", "id", "created_at", "title", @@ -1120,249 +354,41 @@ "created_at" ], "additionalProperties": false - }, - { - "type": "object", + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "first" + ], + "additionalProperties": false, + "$defs": {} + }, + "strict": true + }, + { + "name": "reduce", + "parameters": { + "type": "object", + "properties": { + "first": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", "properties": { "writer": { "type": "string" }, "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1402,241 +428,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1694,9 +485,6 @@ "items": { "type": "object", "properties": { - "score": { - "type": "number" - }, "id": { "type": "string" }, @@ -1718,241 +506,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1976,7 +529,6 @@ } }, "required": [ - "score", "id", "created_at", "title", @@ -1999,268 +551,7 @@ "created_at" ], "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ + }, { "type": "object", "properties": { @@ -2268,545 +559,75 @@ "type": "string" }, "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false } }, "created_at": { @@ -2834,6 +655,9 @@ "items": { "type": "object", "properties": { + "score": { + "type": "number" + }, "id": { "type": "string" }, @@ -2855,241 +679,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3113,6 +702,7 @@ } }, "required": [ + "score", "id", "created_at", "title", @@ -3135,105 +725,126 @@ "created_at" ], "additionalProperties": false - }, - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "second": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" + }, + "created_at": { + "type": "string" } }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { "type": "object", "properties": { "id": { @@ -3251,7 +862,31 @@ "files": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false } } }, @@ -3261,76 +896,125 @@ "title", "body", "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { "type": "object", "properties": { "score": { @@ -3351,7 +1035,31 @@ "files": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false } } }, @@ -3362,1146 +1070,415 @@ "title", "body", "files" - ] + ], + "additionalProperties": false } + }, + "created_at": { + "type": "string" } }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "first", + "second" + ], + "additionalProperties": false, + "$defs": {} + }, + "output": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { + { "type": "string" } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" + ] }, - { + "url": { "type": "string" } - ] - }, - "url": { - "type": "string" + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false } }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "second": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" + "created_at": { + "type": "string" + } }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false } - }, - "created_at": { - "type": "string" - } + ] }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } + "id": { + "type": "string" }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } + "hit": { + "type": "number" }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - { + "created_at": { "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false } }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" + "created_at": { + "type": "string" + } }, - { - "$ref": "#/components/schemas/ObjectGenericUnion" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false }, { "type": "object", "properties": { - "value": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } + "hit": { + "type": "number" }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - { + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false } }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] + "created_at": { + "type": "string" + } }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } } - ] - }, - "recursive": 3, - "visited": {}, + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "strict": true + }, + { + "name": "coalesce", + "parameters": { + "type": "object", + "properties": { + "first": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { "oneOf": [ { "type": "object", @@ -4510,241 +1487,176 @@ "type": "string" }, "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false } }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] + "created_at": { + "type": "string" + } }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] + "created_at": { + "type": "string" }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] + "title": { + "type": "string" }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" + "body": { + "type": "string" }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } } - ] - }, - "recursive": 3, - "visited": {}, + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { "oneOf": [ { "type": "null" @@ -4784,241 +1696,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5076,6 +1753,9 @@ "items": { "type": "object", "properties": { + "score": { + "type": "number" + }, "id": { "type": "string" }, @@ -5097,241 +1777,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5355,6 +1800,7 @@ } }, "required": [ + "score", "id", "created_at", "title", @@ -5377,7 +1823,27 @@ "created_at" ], "additionalProperties": false - }, + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "second": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "oneOf": [ { "type": "object", "properties": { @@ -5385,261 +1851,26 @@ "type": "string" }, "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" }, "created_at": { "type": "string" @@ -5651,9955 +1882,433 @@ "type": "string" }, "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ], - "additionalProperties": false - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ], - "additionalProperties": false - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { "type": "object", "properties": { - "writer": { + "id": { "type": "string" }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] + "created_at": { + "type": "string" }, - "id": { + "title": { "type": "string" }, - "hit": { - "type": "number" + "body": { + "type": "string" }, - "contents": { + "files": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false } - }, - "created_at": { - "type": "string" } }, "required": [ - "writer", - "answer", "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { "type": "object", "properties": { + "score": { + "type": "number" + }, "id": { "type": "string" }, - "hit": { - "type": "number" + "created_at": { + "type": "string" + }, + "title": { + "type": "string" }, - "contents": { + "body": { + "type": "string" + }, + "files": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false } - }, - "created_at": { - "type": "string" } }, "required": [ + "score", "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "third": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { "type": "object", "properties": { "id": { @@ -15617,7 +2326,31 @@ "files": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false } } }, @@ -15627,76 +2360,125 @@ "title", "body", "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" + }, + "created_at": { + "type": "string" } }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { "type": "object", "properties": { "score": { @@ -15717,7 +2499,31 @@ "files": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false } } }, @@ -15728,22 +2534,60 @@ "title", "body", "files" - ] + ], + "additionalProperties": false } + }, + "created_at": { + "type": "string" } }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "first", + "second", + "third" + ], + "additionalProperties": false, + "$defs": {} + }, + "output": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { "oneOf": [ { "type": "null" @@ -15783,241 +2627,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -16050,287 +2659,52 @@ "additionalProperties": false } }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { "oneOf": [ { "type": "null" @@ -16384,241 +2758,6 @@ "type": "string" }, "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -16658,241 +2797,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -16974,241 +2878,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -17271,6 +2940,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectHierarchical.json b/test/schemas/llm.application/3.1/ObjectHierarchical.json deleted file mode 100644 index c1c03d5713..0000000000 --- a/test/schemas/llm.application/3.1/ObjectHierarchical.json +++ /dev/null @@ -1,8958 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false - } - ] - }, - "account": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false - } - ] - }, - "account": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - }, - "second": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.ICustomer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false - } - ] - }, - "account": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false - } - ] - }, - "account": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.ICustomer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false - } - ] - }, - "account": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.ICustomer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false - } - ] - }, - "account": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.ICustomer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false - } - ] - }, - "account": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.ICustomer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false - } - ] - }, - "account": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectInternal.json b/test/schemas/llm.application/3.1/ObjectInternal.json index ee622c1376..4466cfe1fd 100644 --- a/test/schemas/llm.application/3.1/ObjectInternal.json +++ b/test/schemas/llm.application/3.1/ObjectInternal.json @@ -26,7 +26,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -52,37 +53,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectInternal": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectInternal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -110,7 +80,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -136,37 +107,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectInternal": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectInternal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -190,37 +130,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectInternal": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectInternal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -244,37 +153,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectInternal": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectInternal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -300,42 +178,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectInternal": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectInternal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -363,6 +212,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectIntersection.json b/test/schemas/llm.application/3.1/ObjectIntersection.json index 008139066f..0a2d247e95 100644 --- a/test/schemas/llm.application/3.1/ObjectIntersection.json +++ b/test/schemas/llm.application/3.1/ObjectIntersection.json @@ -30,7 +30,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -60,41 +61,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectIntersection": { - "type": "object", - "properties": { - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "vulnerable": { - "type": "boolean" - } - }, - "required": [ - "email", - "name", - "vulnerable" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -126,7 +92,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -156,41 +123,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectIntersection": { - "type": "object", - "properties": { - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "vulnerable": { - "type": "boolean" - } - }, - "required": [ - "email", - "name", - "vulnerable" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -218,41 +150,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectIntersection": { - "type": "object", - "properties": { - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "vulnerable": { - "type": "boolean" - } - }, - "required": [ - "email", - "name", - "vulnerable" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -280,41 +177,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectIntersection": { - "type": "object", - "properties": { - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "vulnerable": { - "type": "boolean" - } - }, - "required": [ - "email", - "name", - "vulnerable" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -344,46 +206,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectIntersection": { - "type": "object", - "properties": { - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "vulnerable": { - "type": "boolean" - } - }, - "required": [ - "email", - "name", - "vulnerable" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectIntersection" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -415,6 +244,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectJsonTag.json b/test/schemas/llm.application/3.1/ObjectJsonTag.json index 220c57413e..8b3675bc5a 100644 --- a/test/schemas/llm.application/3.1/ObjectJsonTag.json +++ b/test/schemas/llm.application/3.1/ObjectJsonTag.json @@ -14,19 +14,19 @@ "deprecated": true }, "description": { - "type": "string", "title": "Descripted property", - "description": "Descripted property." + "description": "Descripted property.", + "type": "string" }, "title": { - "type": "string", "title": "something", - "description": "Titled property." + "description": "Titled property.", + "type": "string" }, "complicate_title": { - "type": "string", "title": "something weirdo with {@link something } tag", - "description": "Complicate title." + "description": "Complicate title.", + "type": "string" } }, "required": [ @@ -41,7 +41,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -58,19 +59,19 @@ "deprecated": true }, "description": { - "type": "string", "title": "Descripted property", - "description": "Descripted property." + "description": "Descripted property.", + "type": "string" }, "title": { - "type": "string", "title": "something", - "description": "Titled property." + "description": "Titled property.", + "type": "string" }, "complicate_title": { - "type": "string", "title": "something weirdo with {@link something } tag", - "description": "Complicate title." + "description": "Complicate title.", + "type": "string" } }, "required": [ @@ -82,52 +83,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectJsonTag": { - "type": "object", - "properties": { - "vulnerable": { - "type": "string", - "deprecated": true - }, - "description": { - "type": "string", - "title": "Descripted property", - "description": "Descripted property." - }, - "title": { - "type": "string", - "title": "something", - "description": "Titled property." - }, - "complicate_title": { - "type": "string", - "title": "something weirdo with {@link something } tag", - "description": "Complicate title." - } - }, - "required": [ - "vulnerable", - "description", - "title", - "complicate_title" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectJsonTag" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -140,19 +95,19 @@ "deprecated": true }, "description": { - "type": "string", "title": "Descripted property", - "description": "Descripted property." + "description": "Descripted property.", + "type": "string" }, "title": { - "type": "string", "title": "something", - "description": "Titled property." + "description": "Titled property.", + "type": "string" }, "complicate_title": { - "type": "string", "title": "something weirdo with {@link something } tag", - "description": "Complicate title." + "description": "Complicate title.", + "type": "string" } }, "required": [ @@ -170,7 +125,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -180,19 +136,19 @@ "deprecated": true }, "description": { - "type": "string", "title": "Descripted property", - "description": "Descripted property." + "description": "Descripted property.", + "type": "string" }, "title": { - "type": "string", "title": "something", - "description": "Titled property." + "description": "Titled property.", + "type": "string" }, "complicate_title": { - "type": "string", "title": "something weirdo with {@link something } tag", - "description": "Complicate title." + "description": "Complicate title.", + "type": "string" } }, "required": [ @@ -211,52 +167,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectJsonTag": { - "type": "object", - "properties": { - "vulnerable": { - "type": "string", - "deprecated": true - }, - "description": { - "type": "string", - "title": "Descripted property", - "description": "Descripted property." - }, - "title": { - "type": "string", - "title": "something", - "description": "Titled property." - }, - "complicate_title": { - "type": "string", - "title": "something weirdo with {@link something } tag", - "description": "Complicate title." - } - }, - "required": [ - "vulnerable", - "description", - "title", - "complicate_title" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectJsonTag" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -269,19 +179,19 @@ "deprecated": true }, "description": { - "type": "string", "title": "Descripted property", - "description": "Descripted property." + "description": "Descripted property.", + "type": "string" }, "title": { - "type": "string", "title": "something", - "description": "Titled property." + "description": "Titled property.", + "type": "string" }, "complicate_title": { - "type": "string", "title": "something weirdo with {@link something } tag", - "description": "Complicate title." + "description": "Complicate title.", + "type": "string" } }, "required": [ @@ -295,52 +205,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectJsonTag": { - "type": "object", - "properties": { - "vulnerable": { - "type": "string", - "deprecated": true - }, - "description": { - "type": "string", - "title": "Descripted property", - "description": "Descripted property." - }, - "title": { - "type": "string", - "title": "something", - "description": "Titled property." - }, - "complicate_title": { - "type": "string", - "title": "something weirdo with {@link something } tag", - "description": "Complicate title." - } - }, - "required": [ - "vulnerable", - "description", - "title", - "complicate_title" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectJsonTag" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -353,19 +217,19 @@ "deprecated": true }, "description": { - "type": "string", "title": "Descripted property", - "description": "Descripted property." + "description": "Descripted property.", + "type": "string" }, "title": { - "type": "string", "title": "something", - "description": "Titled property." + "description": "Titled property.", + "type": "string" }, "complicate_title": { - "type": "string", "title": "something weirdo with {@link something } tag", - "description": "Complicate title." + "description": "Complicate title.", + "type": "string" } }, "required": [ @@ -379,52 +243,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectJsonTag": { - "type": "object", - "properties": { - "vulnerable": { - "type": "string", - "deprecated": true - }, - "description": { - "type": "string", - "title": "Descripted property", - "description": "Descripted property." - }, - "title": { - "type": "string", - "title": "something", - "description": "Titled property." - }, - "complicate_title": { - "type": "string", - "title": "something weirdo with {@link something } tag", - "description": "Complicate title." - } - }, - "required": [ - "vulnerable", - "description", - "title", - "complicate_title" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectJsonTag" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -437,19 +255,19 @@ "deprecated": true }, "description": { - "type": "string", "title": "Descripted property", - "description": "Descripted property." + "description": "Descripted property.", + "type": "string" }, "title": { - "type": "string", "title": "something", - "description": "Titled property." + "description": "Titled property.", + "type": "string" }, "complicate_title": { - "type": "string", "title": "something weirdo with {@link something } tag", - "description": "Complicate title." + "description": "Complicate title.", + "type": "string" } }, "required": [ @@ -465,57 +283,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectJsonTag": { - "type": "object", - "properties": { - "vulnerable": { - "type": "string", - "deprecated": true - }, - "description": { - "type": "string", - "title": "Descripted property", - "description": "Descripted property." - }, - "title": { - "type": "string", - "title": "something", - "description": "Titled property." - }, - "complicate_title": { - "type": "string", - "title": "something weirdo with {@link something } tag", - "description": "Complicate title." - } - }, - "required": [ - "vulnerable", - "description", - "title", - "complicate_title" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectJsonTag" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -528,19 +302,19 @@ "deprecated": true }, "description": { - "type": "string", "title": "Descripted property", - "description": "Descripted property." + "description": "Descripted property.", + "type": "string" }, "title": { - "type": "string", "title": "something", - "description": "Titled property." + "description": "Titled property.", + "type": "string" }, "complicate_title": { - "type": "string", "title": "something weirdo with {@link something } tag", - "description": "Complicate title." + "description": "Complicate title.", + "type": "string" } }, "required": [ @@ -558,6 +332,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectLiteralProperty.json b/test/schemas/llm.application/3.1/ObjectLiteralProperty.json index 93f17ccefd..913e1ca20f 100644 --- a/test/schemas/llm.application/3.1/ObjectLiteralProperty.json +++ b/test/schemas/llm.application/3.1/ObjectLiteralProperty.json @@ -26,7 +26,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -52,37 +53,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectLiteralProperty.ISomething": { - "type": "object", - "properties": { - "something-interesting-do-you-want?": { - "type": "string" - }, - "or-something-crazy-do-you-want?": { - "type": "string" - } - }, - "required": [ - "something-interesting-do-you-want?", - "or-something-crazy-do-you-want?" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectLiteralProperty.ISomething" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -110,7 +80,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -136,37 +107,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectLiteralProperty.ISomething": { - "type": "object", - "properties": { - "something-interesting-do-you-want?": { - "type": "string" - }, - "or-something-crazy-do-you-want?": { - "type": "string" - } - }, - "required": [ - "something-interesting-do-you-want?", - "or-something-crazy-do-you-want?" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectLiteralProperty.ISomething" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -190,37 +130,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectLiteralProperty.ISomething": { - "type": "object", - "properties": { - "something-interesting-do-you-want?": { - "type": "string" - }, - "or-something-crazy-do-you-want?": { - "type": "string" - } - }, - "required": [ - "something-interesting-do-you-want?", - "or-something-crazy-do-you-want?" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectLiteralProperty.ISomething" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -244,37 +153,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectLiteralProperty.ISomething": { - "type": "object", - "properties": { - "something-interesting-do-you-want?": { - "type": "string" - }, - "or-something-crazy-do-you-want?": { - "type": "string" - } - }, - "required": [ - "something-interesting-do-you-want?", - "or-something-crazy-do-you-want?" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectLiteralProperty.ISomething" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -300,42 +178,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectLiteralProperty.ISomething": { - "type": "object", - "properties": { - "something-interesting-do-you-want?": { - "type": "string" - }, - "or-something-crazy-do-you-want?": { - "type": "string" - } - }, - "required": [ - "something-interesting-do-you-want?", - "or-something-crazy-do-you-want?" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectLiteralProperty.ISomething" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -363,6 +212,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectLiteralType.json b/test/schemas/llm.application/3.1/ObjectLiteralType.json index 132ec02b1e..7328107d6b 100644 --- a/test/schemas/llm.application/3.1/ObjectLiteralType.json +++ b/test/schemas/llm.application/3.1/ObjectLiteralType.json @@ -30,7 +30,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -60,37 +61,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "age" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -122,7 +92,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -152,37 +123,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "age" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -210,37 +150,6 @@ ] }, "second": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "age" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -268,37 +177,6 @@ ] }, "third": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "age" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -328,42 +206,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "age": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "age" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -395,6 +244,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectNullable.json b/test/schemas/llm.application/3.1/ObjectNullable.json index 0df9181a59..a21fc257c6 100644 --- a/test/schemas/llm.application/3.1/ObjectNullable.json +++ b/test/schemas/llm.application/3.1/ObjectNullable.json @@ -34,125 +34,6 @@ "additionalProperties": false }, "brand": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -176,129 +57,6 @@ ] }, "similar": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -357,7 +115,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -394,125 +153,6 @@ "additionalProperties": false }, "brand": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -536,129 +176,6 @@ ] }, "similar": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -714,119 +231,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -859,125 +263,6 @@ "additionalProperties": false }, "brand": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1001,129 +286,6 @@ ] }, "similar": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1185,7 +347,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -1215,125 +378,6 @@ "additionalProperties": false }, "brand": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1357,129 +401,6 @@ ] }, "similar": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1542,119 +463,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1687,125 +495,6 @@ "additionalProperties": false }, "brand": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1829,129 +518,6 @@ ] }, "similar": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2009,119 +575,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2154,125 +607,6 @@ "additionalProperties": false }, "brand": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2296,129 +630,6 @@ ] }, "similar": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2476,119 +687,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2621,125 +719,6 @@ "additionalProperties": false }, "brand": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2763,129 +742,6 @@ ] }, "similar": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2945,124 +801,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3095,125 +840,6 @@ "additionalProperties": false }, "brand": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3237,129 +863,6 @@ ] }, "similar": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3421,6 +924,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectOptional.json b/test/schemas/llm.application/3.1/ObjectOptional.json index 5e6e9d4277..ce87664549 100644 --- a/test/schemas/llm.application/3.1/ObjectOptional.json +++ b/test/schemas/llm.application/3.1/ObjectOptional.json @@ -22,14 +22,20 @@ "type": "number" } }, - "required": [], + "required": [ + "id", + "name", + "email", + "sequence" + ], "additionalProperties": false } }, "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -54,44 +60,15 @@ "type": "number" } }, - "required": [], + "required": [ + "id", + "name", + "email", + "sequence" + ], "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectOptional": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "sequence": { - "type": "number" - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectOptional" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -112,7 +89,12 @@ "type": "number" } }, - "required": [], + "required": [ + "id", + "name", + "email", + "sequence" + ], "additionalProperties": false } ] @@ -122,7 +104,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -140,7 +123,12 @@ "type": "number" } }, - "required": [], + "required": [ + "id", + "name", + "email", + "sequence" + ], "additionalProperties": false }, "strict": true @@ -151,40 +139,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectOptional": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "sequence": { - "type": "number" - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectOptional" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -205,46 +159,17 @@ "type": "number" } }, - "required": [], + "required": [ + "id", + "name", + "email", + "sequence" + ], "additionalProperties": false } ] }, "second": { - "components": { - "schemas": { - "ObjectOptional": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "sequence": { - "type": "number" - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectOptional" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -265,46 +190,17 @@ "type": "number" } }, - "required": [], + "required": [ + "id", + "name", + "email", + "sequence" + ], "additionalProperties": false } ] }, "third": { - "components": { - "schemas": { - "ObjectOptional": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "sequence": { - "type": "number" - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectOptional" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -325,7 +221,12 @@ "type": "number" } }, - "required": [], + "required": [ + "id", + "name", + "email", + "sequence" + ], "additionalProperties": false } ] @@ -333,45 +234,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectOptional": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "sequence": { - "type": "number" - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectOptional" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -392,7 +261,12 @@ "type": "number" } }, - "required": [], + "required": [ + "id", + "name", + "email", + "sequence" + ], "additionalProperties": false } ] @@ -402,6 +276,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectPartial.json b/test/schemas/llm.application/3.1/ObjectPartial.json index dc0edd6a5b..8dbd2eeb98 100644 --- a/test/schemas/llm.application/3.1/ObjectPartial.json +++ b/test/schemas/llm.application/3.1/ObjectPartial.json @@ -7,6 +7,7 @@ "type": "object", "properties": { "first": { + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", "type": "object", "properties": { "boolean": { @@ -25,587 +26,70 @@ } }, "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartial.IBase" } ] } }, - "required": [], - "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], "additionalProperties": false } }, "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": { + "ObjectPartial.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } }, "strict": true }, @@ -615,6 +99,7 @@ "type": "object", "properties": { "first": { + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", "type": "object", "properties": { "boolean": { @@ -633,668 +118,26 @@ } }, "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartial.IBase" } ] } }, - "required": [], - "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], "additionalProperties": false }, "second": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/PartialObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1318,579 +161,23 @@ } }, "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartial.IBase" } ] } }, - "required": [], + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", "additionalProperties": false } @@ -1901,9 +188,50 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": { + "ObjectPartial.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } }, "output": { + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", "type": "object", "properties": { "boolean": { @@ -1922,580 +250,23 @@ } }, "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartial.IBase" } ] } }, - "required": [], - "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], "additionalProperties": false }, "strict": true @@ -2506,91 +277,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/PartialObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2614,670 +300,29 @@ } }, "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartial.IBase" } ] } }, - "required": [], + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", "additionalProperties": false } ] }, "second": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/PartialObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3301,670 +346,29 @@ } }, "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartial.IBase" } ] } }, - "required": [], + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", "additionalProperties": false } ] }, "third": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/PartialObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3988,579 +392,23 @@ } }, "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartial.IBase" } ] } }, - "required": [], + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", "additionalProperties": false } @@ -4569,96 +417,52 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } + "additionalProperties": false, + "$defs": { + "ObjectPartial.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] } }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } }, - { - "$ref": "#/components/schemas/PartialObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } + }, + "output": { "oneOf": [ { "type": "null" @@ -4682,579 +486,23 @@ } }, "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartial.IBase" } ] } }, - "required": [], + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", "additionalProperties": false } @@ -5265,6 +513,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectPartialAndRequired.json b/test/schemas/llm.application/3.1/ObjectPartialAndRequired.json index c12ccc3b45..b8f840f387 100644 --- a/test/schemas/llm.application/3.1/ObjectPartialAndRequired.json +++ b/test/schemas/llm.application/3.1/ObjectPartialAndRequired.json @@ -7,6 +7,15 @@ "type": "object", "properties": { "first": { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + }, + "required": [ + "first" + ], + "additionalProperties": false, + "$defs": { + "ObjectPartialAndRequired": { "type": "object", "properties": { "string": { @@ -19,305 +28,12 @@ "type": "boolean" }, "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartialAndRequired" } ] }, @@ -329,16 +45,15 @@ } }, "required": [ + "string", + "number", + "boolean", "object", "array" ], "additionalProperties": false } - }, - "required": [ - "first" - ], - "additionalProperties": false + } }, "strict": true }, @@ -348,6 +63,26 @@ "type": "object", "properties": { "first": { + "$ref": "#/$defs/ObjectPartialAndRequired" + }, + "second": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + ] + } + }, + "required": [ + "first", + "second" + ], + "additionalProperties": false, + "$defs": { + "ObjectPartialAndRequired": { "type": "object", "properties": { "string": { @@ -360,305 +95,12 @@ "type": "boolean" }, "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartialAndRequired" } ] }, @@ -670,730 +112,18 @@ } }, "required": [ + "string", + "number", + "boolean", "object", "array" ], "additionalProperties": false - }, - "second": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false + } }, "output": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartialAndRequired" }, "strict": true }, @@ -1403,1223 +133,44 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartialAndRequired" } ] }, "second": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartialAndRequired" } ] }, "third": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartialAndRequired" } ] } }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { + "additionalProperties": false, + "$defs": { + "ObjectPartialAndRequired": { "type": "object", "properties": { "string": { @@ -2632,305 +183,12 @@ "type": "boolean" }, "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectPartialAndRequired" } ] }, @@ -2942,11 +200,24 @@ } }, "required": [ + "string", + "number", + "boolean", "object", "array" ], "additionalProperties": false } + } + }, + "output": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartialAndRequired" + } ] }, "strict": true @@ -2954,6 +225,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectPrimitive.json b/test/schemas/llm.application/3.1/ObjectPrimitive.json index 1e62bf1e88..9d46efa217 100644 --- a/test/schemas/llm.application/3.1/ObjectPrimitive.json +++ b/test/schemas/llm.application/3.1/ObjectPrimitive.json @@ -13,100 +13,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "txt" @@ -178,7 +84,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -194,100 +101,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "txt" @@ -356,97 +169,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPrimitive.IArticle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -458,100 +180,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "txt" @@ -626,7 +254,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -635,100 +264,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "txt" @@ -804,97 +339,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPrimitive.IArticle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -906,100 +350,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "txt" @@ -1070,97 +420,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPrimitive.IArticle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1172,100 +431,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "txt" @@ -1336,97 +501,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPrimitive.IArticle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1438,100 +512,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "txt" @@ -1604,102 +584,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPrimitive.IArticle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1711,100 +602,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "txt" @@ -1879,6 +676,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectPropertyNullable.json b/test/schemas/llm.application/3.1/ObjectPropertyNullable.json deleted file mode 100644 index 57fb932c66..0000000000 --- a/test/schemas/llm.application/3.1/ObjectPropertyNullable.json +++ /dev/null @@ -1,11193 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectRecursive.json b/test/schemas/llm.application/3.1/ObjectRecursive.json index 1e01897990..9b00731bd4 100644 --- a/test/schemas/llm.application/3.1/ObjectRecursive.json +++ b/test/schemas/llm.application/3.1/ObjectRecursive.json @@ -7,435 +7,24 @@ "type": "object", "properties": { "first": { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + }, + "required": [ + "first" + ], + "additionalProperties": false, + "$defs": { + "ObjectRecursive.IDepartment": { "type": "object", "properties": { "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectRecursive.IDepartment" } ] }, @@ -478,11 +67,7 @@ ], "additionalProperties": false } - }, - "required": [ - "first" - ], - "additionalProperties": false + } }, "strict": true }, @@ -492,435 +77,35 @@ "type": "object", "properties": { "first": { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + }, + "second": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + ] + } + }, + "required": [ + "first", + "second" + ], + "additionalProperties": false, + "$defs": { + "ObjectRecursive.IDepartment": { "type": "object", "properties": { "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectRecursive.IDepartment" } ] }, @@ -962,1033 +147,11 @@ "created_at" ], "additionalProperties": false - }, - "second": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false + } }, "output": { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectRecursive.IDepartment" }, "strict": true }, @@ -1998,2160 +161,53 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectRecursive.IDepartment" } ] }, "second": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectRecursive.IDepartment" } ] }, "third": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectRecursive.IDepartment" } ] } }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { + "additionalProperties": false, + "$defs": { + "ObjectRecursive.IDepartment": { "type": "object", "properties": { "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false + "$ref": "#/$defs/ObjectRecursive.IDepartment" } ] }, @@ -4194,6 +250,16 @@ ], "additionalProperties": false } + } + }, + "output": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } ] }, "strict": true @@ -4201,6 +267,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectRequired.json b/test/schemas/llm.application/3.1/ObjectRequired.json index b297b2e644..362931e699 100644 --- a/test/schemas/llm.application/3.1/ObjectRequired.json +++ b/test/schemas/llm.application/3.1/ObjectRequired.json @@ -7,6 +7,7 @@ "type": "object", "properties": { "first": { + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", "type": "object", "properties": { "boolean": { @@ -25,550 +26,12 @@ } }, "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false + "$ref": "#/$defs/ObjectRequired.IBase" } ] } @@ -580,14 +43,53 @@ "array", "object" ], - "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", "additionalProperties": false } }, "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": { + "ObjectRequired.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } }, "strict": true }, @@ -597,6 +99,7 @@ "type": "object", "properties": { "first": { + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", "type": "object", "properties": { "boolean": { @@ -615,550 +118,12 @@ } }, "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false + "$ref": "#/$defs/ObjectRequired.IBase" } ] } @@ -1170,95 +135,9 @@ "array", "object" ], - "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", "additionalProperties": false }, "second": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/RequiredObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1282,550 +161,12 @@ } }, "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false + "$ref": "#/$defs/ObjectRequired.IBase" } ] } @@ -1847,9 +188,50 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": { + "ObjectRequired.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } }, "output": { + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", "type": "object", "properties": { "boolean": { @@ -1868,550 +250,12 @@ } }, "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false + "$ref": "#/$defs/ObjectRequired.IBase" } ] } @@ -2423,7 +267,6 @@ "array", "object" ], - "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", "additionalProperties": false }, "strict": true @@ -2434,91 +277,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/RequiredObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2542,550 +300,12 @@ } }, "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false + "$ref": "#/$defs/ObjectRequired.IBase" } ] } @@ -3103,91 +323,6 @@ ] }, "second": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/RequiredObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3211,550 +346,12 @@ } }, "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false + "$ref": "#/$defs/ObjectRequired.IBase" } ] } @@ -3772,91 +369,6 @@ ] }, "third": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/RequiredObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3880,550 +392,12 @@ } }, "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false + "$ref": "#/$defs/ObjectRequired.IBase" } ] } @@ -4443,96 +417,52 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } + "additionalProperties": false, + "$defs": { + "ObjectRequired.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] } }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } }, - { - "$ref": "#/components/schemas/RequiredObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } + }, + "output": { "oneOf": [ { "type": "null" @@ -4556,550 +486,12 @@ } }, "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false + "$ref": "#/$defs/ObjectRequired.IBase" } ] } @@ -5121,6 +513,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectSimple.json b/test/schemas/llm.application/3.1/ObjectSimple.json index 2e37ab889d..10458e7f28 100644 --- a/test/schemas/llm.application/3.1/ObjectSimple.json +++ b/test/schemas/llm.application/3.1/ObjectSimple.json @@ -102,7 +102,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -204,64 +205,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectSimple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ObjectSimple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectSimple.IBox3D" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -365,7 +308,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -467,64 +411,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectSimple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ObjectSimple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectSimple.IBox3D" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -624,64 +510,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectSimple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ObjectSimple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectSimple.IBox3D" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -781,64 +609,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectSimple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ObjectSimple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectSimple.IBox3D" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -940,69 +710,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectSimple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ObjectSimple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ObjectSimple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectSimple.IBox3D" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1106,6 +820,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectTuple.json b/test/schemas/llm.application/3.1/ObjectTuple.json deleted file mode 100644 index e496be50e6..0000000000 --- a/test/schemas/llm.application/3.1/ObjectTuple.json +++ /dev/null @@ -1,783 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ObjectTuple": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectTuple.ISection" - }, - { - "$ref": "#/components/schemas/ObjectTuple.ICitizen" - } - ], - "additionalItems": false - }, - "ObjectTuple.ISection": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ] - }, - "ObjectTuple.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ObjectTuple": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectTuple.ISection" - }, - { - "$ref": "#/components/schemas/ObjectTuple.ICitizen" - } - ], - "additionalItems": false - }, - "ObjectTuple.ISection": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ] - }, - "ObjectTuple.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ObjectTuple": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectTuple.ISection" - }, - { - "$ref": "#/components/schemas/ObjectTuple.ICitizen" - } - ], - "additionalItems": false - }, - "ObjectTuple.ISection": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ] - }, - "ObjectTuple.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectTuple": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectTuple.ISection" - }, - { - "$ref": "#/components/schemas/ObjectTuple.ICitizen" - } - ], - "additionalItems": false - }, - "ObjectTuple.ISection": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ] - }, - "ObjectTuple.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ObjectTuple": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ObjectTuple.ISection" - }, - { - "$ref": "#/components/schemas/ObjectTuple.ICitizen" - } - ], - "additionalItems": false - }, - "ObjectTuple.ISection": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ] - }, - "ObjectTuple.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectUndefined.json b/test/schemas/llm.application/3.1/ObjectUndefined.json index 46ebdd5b6d..eb6d5f9560 100644 --- a/test/schemas/llm.application/3.1/ObjectUndefined.json +++ b/test/schemas/llm.application/3.1/ObjectUndefined.json @@ -15,72 +15,6 @@ "type": "string" }, "professor": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -113,6 +47,9 @@ }, "required": [ "name", + "professor", + "classroom", + "grade", "unknown" ], "additionalProperties": false @@ -122,7 +59,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -140,72 +78,6 @@ "type": "string" }, "professor": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -238,78 +110,15 @@ }, "required": [ "name", + "professor", + "classroom", + "grade", "unknown" ], "additionalProperties": false } }, "second": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -323,72 +132,6 @@ "type": "string" }, "professor": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -421,6 +164,9 @@ }, "required": [ "name", + "professor", + "classroom", + "grade", "unknown" ], "additionalProperties": false @@ -433,7 +179,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -444,72 +191,6 @@ "type": "string" }, "professor": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -542,6 +223,9 @@ }, "required": [ "name", + "professor", + "classroom", + "grade", "unknown" ], "additionalProperties": false @@ -555,72 +239,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -634,72 +252,6 @@ "type": "string" }, "professor": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -732,6 +284,9 @@ }, "required": [ "name", + "professor", + "classroom", + "grade", "unknown" ], "additionalProperties": false @@ -740,72 +295,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -819,72 +308,6 @@ "type": "string" }, "professor": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -917,6 +340,9 @@ }, "required": [ "name", + "professor", + "classroom", + "grade", "unknown" ], "additionalProperties": false @@ -925,72 +351,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1004,72 +364,6 @@ "type": "string" }, "professor": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -1102,6 +396,9 @@ }, "required": [ "name", + "professor", + "classroom", + "grade", "unknown" ], "additionalProperties": false @@ -1112,77 +409,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUndefined" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1196,72 +429,6 @@ "type": "string" }, "professor": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -1294,6 +461,9 @@ }, "required": [ "name", + "professor", + "classroom", + "grade", "unknown" ], "additionalProperties": false @@ -1306,6 +476,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectUnionComposite.json b/test/schemas/llm.application/3.1/ObjectUnionComposite.json index 1024fd2d85..9536572456 100644 --- a/test/schemas/llm.application/3.1/ObjectUnionComposite.json +++ b/test/schemas/llm.application/3.1/ObjectUnionComposite.json @@ -9,208 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -583,7 +381,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -595,208 +394,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -1166,415 +763,29 @@ } }, "second": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false + "required": [ + "x", + "y" + ], + "additionalProperties": false }, { "type": "object", @@ -1934,223 +1145,22 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } + "y": { + "type": "number" + } }, "required": [ "x", @@ -2517,190 +1527,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2708,259 +1534,57 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" + "y": { + "type": "number" } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false } }, "required": [ @@ -3281,399 +1905,13 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, + "items": { "oneOf": [ { "type": "object", @@ -4028,416 +2266,30 @@ "y" ], "additionalProperties": false - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ], - "additionalProperties": false - } - ] - } - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" + }, + "radius": { + "type": "number" + } }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "third": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { "oneOf": [ { "type": "object", @@ -4811,195 +2663,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5007,208 +2677,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -5584,6 +3052,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectUnionCompositePointer.json b/test/schemas/llm.application/3.1/ObjectUnionCompositePointer.json index a7456bfa54..806812898e 100644 --- a/test/schemas/llm.application/3.1/ObjectUnionCompositePointer.json +++ b/test/schemas/llm.application/3.1/ObjectUnionCompositePointer.json @@ -15,227 +15,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -620,7 +399,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -638,227 +418,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -1240,209 +799,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1456,227 +812,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -2064,7 +1199,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -2075,227 +1211,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -2684,209 +1599,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2900,227 +1612,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -3504,209 +1995,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3720,227 +2008,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -4295,472 +2362,48 @@ "y" ], "additionalProperties": false - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" + }, + "radius": { + "type": "number" + } }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "third": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { "oneOf": [ { "type": "object", @@ -5146,214 +2789,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5367,227 +2809,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -5975,6 +3196,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectUnionDouble.json b/test/schemas/llm.application/3.1/ObjectUnionDouble.json index 6ac7d244ff..3a588dcd40 100644 --- a/test/schemas/llm.application/3.1/ObjectUnionDouble.json +++ b/test/schemas/llm.application/3.1/ObjectUnionDouble.json @@ -9,177 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -197,177 +26,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -436,177 +94,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -669,7 +156,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -681,177 +169,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -869,177 +186,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -1108,177 +254,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -1338,355 +313,13 @@ } }, "second": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "recursive": 3, - "visited": {}, + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { "oneOf": [ { "type": "object", @@ -1704,177 +337,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -1943,177 +405,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -2179,370 +470,29 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ], - "additionalProperties": false + "required": [ + "x" + ], + "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -2611,177 +561,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -2848,596 +627,83 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { "type": "object", "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] } }, "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ], - "additionalProperties": false - }, - "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ], - "additionalProperties": false - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ], - "additionalProperties": false - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value", - "child" - ], - "additionalProperties": false - }, - { + "value", + "child" + ], + "additionalProperties": false + }, + { "type": "object", "properties": { "value": { @@ -3453,177 +719,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -3685,177 +780,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3863,177 +787,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -4051,177 +804,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -4277,190 +859,19 @@ { "type": "object", "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ], - "additionalProperties": false - }, - "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" } }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { "oneOf": [ { "type": "object", @@ -4522,177 +933,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4700,177 +940,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -4888,177 +957,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -5118,186 +1016,15 @@ "type": "object", "properties": { "x": { - "type": "string" - } - }, - "required": [ - "x" - ], - "additionalProperties": false - }, - "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } + "type": "string" } }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { "oneOf": [ { "type": "object", @@ -5361,182 +1088,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5544,177 +1102,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -5732,177 +1119,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -5971,177 +1187,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -6207,6 +1252,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectUnionExplicit.json b/test/schemas/llm.application/3.1/ObjectUnionExplicit.json index 8eee48e70d..03d0abc76c 100644 --- a/test/schemas/llm.application/3.1/ObjectUnionExplicit.json +++ b/test/schemas/llm.application/3.1/ObjectUnionExplicit.json @@ -9,241 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -599,7 +364,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -611,241 +377,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -1198,2720 +729,76 @@ } }, "second": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ], - "additionalProperties": false - } - ] - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ], - "additionalProperties": false - } - ] - } - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ], - "additionalProperties": false - } - ] - } - } - ] - }, - "second": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" } }, - "type": { - "const": "polygon" - } + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" + "required": [ + "x", + "y" + ], + "additionalProperties": false }, "type": { - "const": "point" + "const": "line" } }, "required": [ - "x", - "y", + "p1", + "p2", "type" ], "additionalProperties": false @@ -3951,13 +838,30 @@ ], "additionalProperties": false }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, "type": { - "const": "line" + "const": "triangle" } }, "required": [ "p1", "p2", + "p3", "type" ], "additionalProperties": false @@ -4013,14 +917,136 @@ ], "additionalProperties": false }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, "type": { - "const": "triangle" + "const": "polygon" } }, "required": [ - "p1", - "p2", - "p3", + "outer", + "inner", "type" ], "additionalProperties": false @@ -4028,7 +1054,7 @@ { "type": "object", "properties": { - "p1": { + "centroid": { "type": "object", "properties": { "x": { @@ -4044,39 +1070,317 @@ ], "additionalProperties": false }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false + "radius": { + "type": "number" }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + ] + } + }, + "required": [ + "first", + "second" + ], + "additionalProperties": false, + "$defs": {} + }, + "output": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "required": [ - "x", - "y" - ], - "additionalProperties": false + "y": { + "type": "number" + } }, - "p4": { + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { "type": "object", "properties": { "x": { @@ -4091,121 +1395,94 @@ "y" ], "additionalProperties": false - }, - "type": { - "const": "rectangle" } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ], - "additionalProperties": false + } }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ], - "additionalProperties": false + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "strict": true + }, + { + "name": "coalesce", + "parameters": { + "type": "object", + "properties": { + "first": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" }, "type": { - "const": "polygon" + "const": "point" } }, "required": [ - "outer", - "inner", + "x", + "y", "type" ], "additionalProperties": false @@ -4213,7 +1490,7 @@ { "type": "object", "properties": { - "centroid": { + "p1": { "type": "object", "properties": { "x": { @@ -4229,488 +1506,327 @@ ], "additionalProperties": false }, - "radius": { - "type": "number" + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false }, "type": { - "const": "circle" + "const": "line" } }, "required": [ - "centroid", - "radius", + "p1", + "p2", "type" ], "additionalProperties": false - } - ] - } - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" + "y": { + "type": "number" } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" }, - "type": { - "const": "point" - } + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } }, - "type": { - "const": "line" - } + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } }, - "y": { - "type": "number" - } + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - "required": [ - "x", - "y" - ] + "type": { + "const": "triangle" + } }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } }, - "type": { - "const": "triangle" - } + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } }, - "type": { - "const": "rectangle" - } + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" } }, - "type": { - "const": "polyline" + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false } }, - "required": [ - "points", - "type" - ] + "type": { + "const": "polyline" + } }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } } }, - "type": { - "const": "polygon" + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false } }, - "required": [ - "outer", - "inner", - "type" - ] + "type": { + "const": "polygon" + } }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "second": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { "oneOf": [ { "type": "object", @@ -5016,12 +2132,188 @@ } }, "type": { - "const": "polygon" + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "third": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" } }, "required": [ - "outer", - "inner", + "p1", + "p2", + "p3", "type" ], "additionalProperties": false @@ -5029,7 +2321,7 @@ { "type": "object", "properties": { - "centroid": { + "p1": { "type": "object", "properties": { "x": { @@ -5045,495 +2337,227 @@ ], "additionalProperties": false }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ], - "additionalProperties": false - } - ] - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" + "type": { + "const": "rectangle" } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" } }, - "type": { - "const": "polyline" - } + "required": [ + "points", + "type" + ], + "additionalProperties": false }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" } }, - "type": { - "const": "polygon" - } + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, + } + ] + } + }, + "required": [ + "first", + "second", + "third" + ], + "additionalProperties": false, + "$defs": {} + }, + "output": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { "oneOf": [ { "type": "object", @@ -5892,6 +2916,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectUnionExplicitPointer.json b/test/schemas/llm.application/3.1/ObjectUnionExplicitPointer.json index 0b7631ca07..f599009cad 100644 --- a/test/schemas/llm.application/3.1/ObjectUnionExplicitPointer.json +++ b/test/schemas/llm.application/3.1/ObjectUnionExplicitPointer.json @@ -15,263 +15,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -639,7 +382,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -657,348 +401,91 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } + "y": { + "type": "number" }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] + "type": { + "const": "point" + } }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } }, - "type": { - "const": "point" - } + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } }, - "type": { - "const": "line" - } + "required": [ + "x", + "y" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2", - "type" - ] + "type": { + "const": "line" + } }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false + "required": [ + "x", + "y" + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -1278,248 +765,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1533,263 +778,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -2160,7 +1148,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -2171,263 +1160,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -2799,248 +1531,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3054,263 +1544,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -3677,248 +1910,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3932,263 +1923,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -4546,527 +2280,28 @@ "additionalProperties": false } } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "third": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { "oneOf": [ { "type": "object", @@ -5435,253 +2670,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5695,263 +2690,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -6322,6 +3060,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectUnionImplicit.json b/test/schemas/llm.application/3.1/ObjectUnionImplicit.json index b00fbc38a0..d39e05a865 100644 --- a/test/schemas/llm.application/3.1/ObjectUnionImplicit.json +++ b/test/schemas/llm.application/3.1/ObjectUnionImplicit.json @@ -9,344 +9,457 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" + "y": { + "type": "number" }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" + "type": "number" } ] } }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + ] }, - "required": [ - "points" - ] + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, { "type": "object", "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" }, - "ObjectUnionImplicit.IPoint": { + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { "type": "object", "properties": { "x": { @@ -368,235 +481,83 @@ }, "required": [ "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } + "length": { + "oneOf": [ + { + "type": "null" }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" } - }, - "required": [ - "outer" ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" } - ] - }, - "recursive": 3, - "visited": {}, + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { "oneOf": [ { "type": "null" @@ -608,15 +569,19 @@ } }, "required": [ - "x", - "y" + "outer", + "inner", + "area" ], "additionalProperties": false }, { "type": "object", "properties": { - "p1": { + "radius": { + "type": "number" + }, + "centroid": { "type": "object", "properties": { "x": { @@ -626,287 +591,6 @@ "type": "number" }, "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -919,61701 +603,60 @@ }, "required": [ "x", - "y" + "y", + "slope" ], "additionalProperties": false }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" + "area": { + "oneOf": [ + { + "type": "null" }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ], - "additionalProperties": false - } - ] - } - }, - "second": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ], - "additionalProperties": false - } - ] - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ], - "additionalProperties": false - } - ] - } - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ], - "additionalProperties": false - } - ] - } - } - ] - }, - "second": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ], - "additionalProperties": false - } - ] - } - } - ] - }, - "third": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ], - "additionalProperties": false - } - ] - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { + { "type": "number" } ] - }, - "distance": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "first" + ], + "additionalProperties": false, + "$defs": {} + }, + "strict": true + }, + { + "name": "reduce", + "parameters": { + "type": "object", + "properties": { + "first": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { "type": "null" @@ -62625,305 +668,25 @@ } }, "required": [ - "p1", - "p2" + "x", + "y", + "slope" ], "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { "type": "null" @@ -62936,7 +699,8 @@ }, "required": [ "x", - "y" + "y", + "slope" ], "additionalProperties": false }, @@ -62950,287 +714,92 @@ "type": "number" }, "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { "type": "null" @@ -63243,7 +812,8 @@ }, "required": [ "x", - "y" + "y", + "slope" ], "additionalProperties": false }, @@ -63257,287 +827,77 @@ "type": "number" }, "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { "type": "null" @@ -63550,292 +910,93 @@ }, "required": [ "x", - "y" + "y", + "slope" ], "additionalProperties": false }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "radius" - ] - } + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "recursive": 3, - "visited": {}, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { "oneOf": [ { "type": "null" @@ -63846,259 +1007,105 @@ ] }, "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] + "y": { + "type": "number" }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } + "slope": { + "oneOf": [ + { + "type": "null" }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" } - }, - "required": [ - "outer" ] - }, - "ObjectUnionImplicit.ICircle": { + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { "type": "object", "properties": { - "radius": { + "x": { "type": "number" }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "y": { + "type": "number" }, - "area": { + "slope": { "oneOf": [ { "type": "null" @@ -64110,23 +1117,84 @@ } }, "required": [ - "radius" - ] + "x", + "y", + "slope" + ], + "additionalProperties": false } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } }, - { - "type": "number" + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } - ] - }, - "recursive": 3, - "visited": {}, + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { "oneOf": [ { "type": "null" @@ -64135,600 +1203,503 @@ "type": "number" } ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + }, + "second": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" + "type": "number" } ] } }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "y": { + "type": "number" }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] + ] + } }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "required": [ - "outer" - ] + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] }, - "y": { - "type": "number" + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "radius" - ] - } + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - { + "y": { "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } - ] - }, - "recursive": 3, - "visited": {}, + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { "oneOf": [ { "type": "null" @@ -64740,52 +1711,20 @@ } }, "required": [ - "x", - "y" + "points", + "length" ], "additionalProperties": false }, - "p2": { + { "type": "object", "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { "type": "object", "properties": { "x": { @@ -64807,235 +1746,134 @@ }, "required": [ "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } + "length": { + "oneOf": [ + { + "type": "null" }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { + { "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] } - }, - "required": [ - "radius" ] } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { "oneOf": [ { "type": "null" @@ -65047,896 +1885,435 @@ } }, "required": [ - "x", - "y" + "radius", + "centroid", + "area" ], "additionalProperties": false + } + ] + } + } + ] + } + }, + "required": [ + "first", + "second" + ], + "additionalProperties": false, + "$defs": {} + }, + "output": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" + "slope": { + "oneOf": [ + { + "type": "null" }, - "y": { + { "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "y": { + { "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" }, - "schema": { + "slope": { "oneOf": [ { "type": "null" @@ -65945,300 +2322,70 @@ "type": "number" } ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + } }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] + "y": { + "type": "number" }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "slope": { + "oneOf": [ + { + "type": "null" }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" } - }, - "required": [ - "radius" ] } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { "oneOf": [ { "type": "null" @@ -66247,278 +2394,50 @@ "type": "number" } ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" + "type": "null" }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false } }, - "schema": { + "length": { "oneOf": [ { "type": "null" @@ -66527,9 +2446,49 @@ "type": "number" } ] - }, - "recursive": 3, - "visited": {}, + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { "type": "null" @@ -66541,298 +2500,300 @@ } }, "required": [ - "p1", - "p2", - "p3", - "p4" + "x", + "y", + "slope" ], "additionalProperties": false }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + }, + "strict": true + }, + { + "name": "coalesce", + "parameters": { + "type": "object", + "properties": { + "first": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] + { + "type": "number" } - } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" }, - "schema": { + "slope": { "oneOf": [ { "type": "null" @@ -66841,58 +2802,144 @@ "type": "number" } ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" + "type": "number" } ] } }, - "ObjectUnionImplicit.IPoint": { + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { "type": "object", "properties": { "x": { @@ -66914,153 +2961,115 @@ }, "required": [ "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - { + "y": { "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } - ] + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false } }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "ObjectUnionImplicit.IPolyline": { + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { "type": "object", "properties": { "points": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false } }, "length": { @@ -67075,635 +3084,554 @@ } }, "required": [ - "points" - ] + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "second": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "required": [ - "outer" - ] + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "radius" - ] - } + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { "type": "object", "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" } - }, - "required": [ - "points" ] - }, - "ObjectUnionImplicit.IPolygon": { + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { "type": "object", "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" + "x": { + "type": "number" }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } + "y": { + "type": "number" }, - "area": { + "slope": { "oneOf": [ { "type": "null" @@ -67715,47 +3643,261 @@ } }, "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "third": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "radius" - ] - } + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "recursive": 3, - "visited": {}, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { "oneOf": [ { "type": "null" @@ -67767,596 +3909,232 @@ } }, "required": [ - "points" + "p1", + "p2", + "width", + "distance" ], "additionalProperties": false }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "y": { + { "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false + ] } }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] + { + "type": "number" } - } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" }, - "schema": { + "slope": { "oneOf": [ { "type": "null" @@ -68365,57 +4143,63 @@ "type": "number" } ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "ObjectUnionImplicit.IPoint": { + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { "type": "object", "properties": { "x": { @@ -68437,207 +4221,118 @@ }, "required": [ "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" }, - { + "y": { "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" }, - { - "type": "number" + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } - ] + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false } }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] + ] + } }, - "ObjectUnionImplicit.IPolygon": { + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { "type": "object", "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { + "points": { "type": "array", "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } }, - "area": { + "length": { "oneOf": [ { "type": "null" @@ -68649,45 +4344,275 @@ } }, "required": [ - "radius" - ] + "points", + "length" + ], + "additionalProperties": false } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - { - "type": "number" - } - ] + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + ] + } + }, + "required": [ + "first", + "second", + "third" + ], + "additionalProperties": false, + "$defs": {} + }, + "output": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "recursive": 3, - "visited": {}, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { "oneOf": [ { "type": "null" }, - { + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } - ] - } - }, - "required": [ - "outer" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "radius": { - "type": "number" + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "centroid": { + "p3": { "type": "object", "properties": { "x": { @@ -68697,287 +4622,77 @@ "type": "number" }, "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { "type": "null" @@ -68990,186 +4705,202 @@ }, "required": [ "x", - "y" + "y", + "slope" ], "additionalProperties": false }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" } - }, - "required": [ - "p1", - "p2", - "p3" ] - }, - "ObjectUnionImplicit.IRectangle": { + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { "type": "object", "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "x": { + "type": "number" }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "y": { + "type": "number" }, - "area": { + "slope": { "oneOf": [ { "type": "null" @@ -69181,101 +4912,135 @@ } }, "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "length": { + "oneOf": [ + { + "type": "null" }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + { + "type": "number" } - }, - "required": [ - "radius" ] } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { "oneOf": [ { "type": "null" @@ -69287,7 +5052,9 @@ } }, "required": [ - "radius" + "radius", + "centroid", + "area" ], "additionalProperties": false } @@ -69301,6 +5068,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ObjectUnionNonPredictable.json b/test/schemas/llm.application/3.1/ObjectUnionNonPredictable.json index 3dbec9681b..32ce843757 100644 --- a/test/schemas/llm.application/3.1/ObjectUnionNonPredictable.json +++ b/test/schemas/llm.application/3.1/ObjectUnionNonPredictable.json @@ -18,140 +18,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -241,7 +107,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -262,140 +129,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -482,137 +215,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -629,140 +231,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -855,7 +323,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -869,140 +338,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -1096,137 +431,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1243,140 +447,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -1465,137 +535,6 @@ ] }, "second": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1612,140 +551,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -1834,137 +639,6 @@ ] }, "third": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1981,140 +655,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -2205,142 +745,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2357,140 +768,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -2583,6 +860,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TemplateAtomic.json b/test/schemas/llm.application/3.1/TemplateAtomic.json index d37567888e..053791226c 100644 --- a/test/schemas/llm.application/3.1/TemplateAtomic.json +++ b/test/schemas/llm.application/3.1/TemplateAtomic.json @@ -10,95 +10,26 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" + "description": "@pattern ((.*)_postfix)$", + "type": "string" }, "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" }, "middle_boolean": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_false_value" @@ -109,12 +40,12 @@ ] }, "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" } }, "required": [ @@ -133,7 +64,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -146,95 +78,26 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" + "description": "@pattern ((.*)_postfix)$", + "type": "string" }, "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" }, "middle_boolean": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_false_value" @@ -245,12 +108,12 @@ ] }, "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" } }, "required": [ @@ -266,75 +129,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -343,95 +137,26 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" + "description": "@pattern ((.*)_postfix)$", + "type": "string" }, "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" }, "middle_boolean": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_false_value" @@ -442,12 +167,12 @@ ] }, "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" } }, "required": [ @@ -469,101 +194,33 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" + "description": "@pattern ((.*)_postfix)$", + "type": "string" }, "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" }, "middle_boolean": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_false_value" @@ -574,12 +231,12 @@ ] }, "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" } }, "required": [ @@ -602,75 +259,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -679,95 +267,26 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" + "description": "@pattern ((.*)_postfix)$", + "type": "string" }, "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" }, "middle_boolean": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_false_value" @@ -778,12 +297,12 @@ ] }, "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" } }, "required": [ @@ -801,75 +320,6 @@ ] }, "second": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -878,95 +328,26 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" + "description": "@pattern ((.*)_postfix)$", + "type": "string" }, "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" }, "middle_boolean": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_false_value" @@ -977,12 +358,12 @@ ] }, "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" } }, "required": [ @@ -1000,75 +381,6 @@ ] }, "third": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1077,95 +389,26 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" + "description": "@pattern ((.*)_postfix)$", + "type": "string" }, "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" }, "middle_boolean": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_false_value" @@ -1176,12 +419,12 @@ ] }, "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" } }, "required": [ @@ -1201,80 +444,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1283,95 +459,26 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" + "description": "@pattern ((.*)_postfix)$", + "type": "string" }, "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" }, "middle_boolean": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_false_value" @@ -1382,12 +489,12 @@ ] }, "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" } }, "required": [ @@ -1409,6 +516,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TemplateConstant.json b/test/schemas/llm.application/3.1/TemplateConstant.json index 23251429f3..b606d7b630 100644 --- a/test/schemas/llm.application/3.1/TemplateConstant.json +++ b/test/schemas/llm.application/3.1/TemplateConstant.json @@ -15,106 +15,6 @@ "type": "object", "properties": { "prefix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "prefix_A" @@ -128,106 +28,6 @@ ] }, "postfix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "1_postfix" @@ -241,124 +41,6 @@ ] }, "combined": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_1_value_with_label_A" @@ -408,7 +90,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -426,106 +109,6 @@ "type": "object", "properties": { "prefix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "prefix_A" @@ -539,106 +122,6 @@ ] }, "postfix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "1_postfix" @@ -652,124 +135,6 @@ ] }, "combined": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_1_value_with_label_A" @@ -816,103 +181,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -926,106 +194,6 @@ "type": "object", "properties": { "prefix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "prefix_A" @@ -1039,106 +207,6 @@ ] }, "postfix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "1_postfix" @@ -1152,124 +220,6 @@ ] }, "combined": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_1_value_with_label_A" @@ -1322,7 +272,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -1333,106 +284,6 @@ "type": "object", "properties": { "prefix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "prefix_A" @@ -1446,106 +297,6 @@ ] }, "postfix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "1_postfix" @@ -1559,124 +310,6 @@ ] }, "combined": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_1_value_with_label_A" @@ -1730,103 +363,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1840,106 +376,6 @@ "type": "object", "properties": { "prefix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "prefix_A" @@ -1953,106 +389,6 @@ ] }, "postfix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "1_postfix" @@ -2066,124 +402,6 @@ ] }, "combined": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_1_value_with_label_A" @@ -2232,103 +450,6 @@ ] }, "second": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2342,106 +463,6 @@ "type": "object", "properties": { "prefix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "prefix_A" @@ -2455,106 +476,6 @@ ] }, "postfix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "1_postfix" @@ -2568,124 +489,6 @@ ] }, "combined": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_1_value_with_label_A" @@ -2734,103 +537,6 @@ ] }, "third": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2844,106 +550,6 @@ "type": "object", "properties": { "prefix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "prefix_A" @@ -2957,106 +563,6 @@ ] }, "postfix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "1_postfix" @@ -3070,124 +576,6 @@ ] }, "combined": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_1_value_with_label_A" @@ -3238,108 +626,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateConstant" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3353,106 +646,6 @@ "type": "object", "properties": { "prefix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "prefix_A" @@ -3466,106 +659,6 @@ ] }, "postfix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "1_postfix" @@ -3579,124 +672,6 @@ ] }, "combined": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_1_value_with_label_A" @@ -3749,6 +724,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TemplateUnion.json b/test/schemas/llm.application/3.1/TemplateUnion.json index c216a69a15..d10876811a 100644 --- a/test/schemas/llm.application/3.1/TemplateUnion.json +++ b/test/schemas/llm.application/3.1/TemplateUnion.json @@ -15,116 +15,18 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" }, "middle": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_false_value" @@ -135,125 +37,10 @@ ] }, "mixed": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_A_value" @@ -301,7 +88,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -319,116 +107,18 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" }, "middle": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_false_value" @@ -439,125 +129,10 @@ ] }, "mixed": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_A_value" @@ -602,100 +177,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -709,116 +190,18 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" }, "middle": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_false_value" @@ -829,125 +212,10 @@ ] }, "mixed": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_A_value" @@ -998,7 +266,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -1009,116 +278,18 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" }, "middle": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_false_value" @@ -1129,125 +300,10 @@ ] }, "mixed": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_A_value" @@ -1299,352 +355,45 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateUnion" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] + "middle": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] }, "mixed": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_A_value" @@ -1691,100 +440,6 @@ ] }, "second": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1798,116 +453,18 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" }, "middle": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_false_value" @@ -1918,125 +475,10 @@ ] }, "mixed": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_A_value" @@ -2083,100 +525,6 @@ ] }, "third": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2190,116 +538,18 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" }, "middle": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_false_value" @@ -2310,125 +560,10 @@ ] }, "mixed": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_A_value" @@ -2477,105 +612,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TemplateUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -2589,116 +632,18 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" }, "middle": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_false_value" @@ -2709,125 +654,10 @@ ] }, "mixed": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_A_value" @@ -2878,6 +708,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ToJsonArray.json b/test/schemas/llm.application/3.1/ToJsonArray.json deleted file mode 100644 index 679572f066..0000000000 --- a/test/schemas/llm.application/3.1/ToJsonArray.json +++ /dev/null @@ -1,682 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ToJsonArray": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ToJsonArray.IObject" - } - } - ], - "additionalItems": false - }, - "ToJsonArray.IObject": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ToJsonArray": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ToJsonArray.IObject" - } - } - ], - "additionalItems": false - }, - "ToJsonArray.IObject": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ToJsonArray": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ToJsonArray.IObject" - } - } - ], - "additionalItems": false - }, - "ToJsonArray.IObject": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ToJsonArray": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ToJsonArray.IObject" - } - } - ], - "additionalItems": false - }, - "ToJsonArray.IObject": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ToJsonArray": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ToJsonArray.IObject" - } - } - ], - "additionalItems": false - }, - "ToJsonArray.IObject": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ToJsonAtomicSimple.json b/test/schemas/llm.application/3.1/ToJsonAtomicSimple.json deleted file mode 100644 index d3bc904efd..0000000000 --- a/test/schemas/llm.application/3.1/ToJsonAtomicSimple.json +++ /dev/null @@ -1,360 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ToJsonAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ToJsonAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ToJsonAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ToJsonAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ToJsonAtomicSimple": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicSimple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ToJsonAtomicUnion.json b/test/schemas/llm.application/3.1/ToJsonAtomicUnion.json index f736998dda..995897ced3 100644 --- a/test/schemas/llm.application/3.1/ToJsonAtomicUnion.json +++ b/test/schemas/llm.application/3.1/ToJsonAtomicUnion.json @@ -9,47 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -70,7 +29,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -82,47 +42,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -140,41 +59,6 @@ } }, "second": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -182,47 +66,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -246,52 +89,12 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -316,41 +119,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -358,47 +126,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -418,41 +145,6 @@ ] }, "second": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -460,47 +152,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -520,41 +171,6 @@ ] }, "third": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -562,47 +178,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -624,46 +199,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -671,47 +213,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -735,6 +236,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ToJsonDouble.json b/test/schemas/llm.application/3.1/ToJsonDouble.json index 34c3b15630..218b2af391 100644 --- a/test/schemas/llm.application/3.1/ToJsonDouble.json +++ b/test/schemas/llm.application/3.1/ToJsonDouble.json @@ -26,7 +26,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -52,37 +53,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "ToJsonDouble.Child": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "flag": { - "type": "boolean" - } - }, - "required": [ - "id", - "flag" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonDouble.Child" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -110,7 +80,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -136,37 +107,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ToJsonDouble.Child": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "flag": { - "type": "boolean" - } - }, - "required": [ - "id", - "flag" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonDouble.Child" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -190,37 +130,6 @@ ] }, "second": { - "components": { - "schemas": { - "ToJsonDouble.Child": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "flag": { - "type": "boolean" - } - }, - "required": [ - "id", - "flag" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonDouble.Child" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -244,37 +153,6 @@ ] }, "third": { - "components": { - "schemas": { - "ToJsonDouble.Child": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "flag": { - "type": "boolean" - } - }, - "required": [ - "id", - "flag" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonDouble.Child" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -300,42 +178,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ToJsonDouble.Child": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "flag": { - "type": "boolean" - } - }, - "required": [ - "id", - "flag" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonDouble.Child" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -363,6 +212,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ToJsonNull.json b/test/schemas/llm.application/3.1/ToJsonNull.json index 10228d870b..f68cf92d1b 100644 --- a/test/schemas/llm.application/3.1/ToJsonNull.json +++ b/test/schemas/llm.application/3.1/ToJsonNull.json @@ -13,7 +13,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -26,21 +27,6 @@ "type": "null" }, "second": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "null" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -55,7 +41,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "null" @@ -68,21 +55,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "null" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -93,21 +65,6 @@ ] }, "second": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "null" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -118,21 +75,6 @@ ] }, "third": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "null" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -145,26 +87,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": {} - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "null" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -179,6 +108,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ToJsonTuple.json b/test/schemas/llm.application/3.1/ToJsonTuple.json deleted file mode 100644 index ed5a42d6a6..0000000000 --- a/test/schemas/llm.application/3.1/ToJsonTuple.json +++ /dev/null @@ -1,593 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "ToJsonTuple": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonTuple.IObject" - } - ], - "additionalItems": false - }, - "ToJsonTuple.IObject": { - "$ref": "#/components/schemas/ToJsonTuple.IHobby" - }, - "ToJsonTuple.IHobby": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "ToJsonTuple": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonTuple.IObject" - } - ], - "additionalItems": false - }, - "ToJsonTuple.IObject": { - "$ref": "#/components/schemas/ToJsonTuple.IHobby" - }, - "ToJsonTuple.IHobby": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "ToJsonTuple": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonTuple.IObject" - } - ], - "additionalItems": false - }, - "ToJsonTuple.IObject": { - "$ref": "#/components/schemas/ToJsonTuple.IHobby" - }, - "ToJsonTuple.IHobby": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "ToJsonTuple": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonTuple.IObject" - } - ], - "additionalItems": false - }, - "ToJsonTuple.IObject": { - "$ref": "#/components/schemas/ToJsonTuple.IHobby" - }, - "ToJsonTuple.IHobby": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "ToJsonTuple": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonTuple.IObject" - } - ], - "additionalItems": false - }, - "ToJsonTuple.IObject": { - "$ref": "#/components/schemas/ToJsonTuple.IHobby" - }, - "ToJsonTuple.IHobby": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/ToJsonUnion.json b/test/schemas/llm.application/3.1/ToJsonUnion.json index e3a698034b..b28d1de036 100644 --- a/test/schemas/llm.application/3.1/ToJsonUnion.json +++ b/test/schemas/llm.application/3.1/ToJsonUnion.json @@ -9,97 +9,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "boolean" @@ -177,7 +86,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -189,97 +99,6 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "boolean" @@ -354,85 +173,6 @@ } }, "second": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -440,97 +180,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "boolean" @@ -611,102 +260,12 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "boolean" @@ -788,85 +347,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -874,97 +354,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "boolean" @@ -1041,85 +430,6 @@ ] }, "second": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1127,97 +437,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "boolean" @@ -1294,85 +513,6 @@ ] }, "third": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1380,97 +520,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "boolean" @@ -1549,90 +598,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ToJsonUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1640,97 +612,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "boolean" @@ -1811,6 +692,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TupleHierarchical.json b/test/schemas/llm.application/3.1/TupleHierarchical.json deleted file mode 100644 index 52d2478471..0000000000 --- a/test/schemas/llm.application/3.1/TupleHierarchical.json +++ /dev/null @@ -1,1452 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - "second": { - "components": { - "schemas": { - "TupleHierarchical": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "TupleHierarchical": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ] - }, - "second": { - "components": { - "schemas": { - "TupleHierarchical": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ] - }, - "third": { - "components": { - "schemas": { - "TupleHierarchical": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "TupleHierarchical": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleHierarchical" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TupleRestArray.json b/test/schemas/llm.application/3.1/TupleRestArray.json deleted file mode 100644 index 010b789ff3..0000000000 --- a/test/schemas/llm.application/3.1/TupleRestArray.json +++ /dev/null @@ -1,386 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "second": { - "components": { - "schemas": { - "TupleRestArray": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "TupleRestArray": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - ] - }, - "second": { - "components": { - "schemas": { - "TupleRestArray": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - ] - }, - "third": { - "components": { - "schemas": { - "TupleRestArray": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "TupleRestArray": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestArray" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TupleRestAtomic.json b/test/schemas/llm.application/3.1/TupleRestAtomic.json deleted file mode 100644 index 1e8f9c2e24..0000000000 --- a/test/schemas/llm.application/3.1/TupleRestAtomic.json +++ /dev/null @@ -1,347 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - }, - "second": { - "components": { - "schemas": { - "TupleRestAtomic": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "TupleRestAtomic": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - ] - }, - "second": { - "components": { - "schemas": { - "TupleRestAtomic": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - ] - }, - "third": { - "components": { - "schemas": { - "TupleRestAtomic": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "TupleRestAtomic": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestAtomic" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TupleRestObject.json b/test/schemas/llm.application/3.1/TupleRestObject.json deleted file mode 100644 index a2a9f33604..0000000000 --- a/test/schemas/llm.application/3.1/TupleRestObject.json +++ /dev/null @@ -1,474 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "second": { - "components": { - "schemas": { - "TupleRestObject": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "$ref": "#/components/schemas/TupleRestObject.IObject" - } - }, - "TupleRestObject.IObject": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestObject" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "TupleRestObject": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "$ref": "#/components/schemas/TupleRestObject.IObject" - } - }, - "TupleRestObject.IObject": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestObject" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "second": { - "components": { - "schemas": { - "TupleRestObject": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "$ref": "#/components/schemas/TupleRestObject.IObject" - } - }, - "TupleRestObject.IObject": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestObject" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "third": { - "components": { - "schemas": { - "TupleRestObject": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "$ref": "#/components/schemas/TupleRestObject.IObject" - } - }, - "TupleRestObject.IObject": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestObject" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "TupleRestObject": { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "$ref": "#/components/schemas/TupleRestObject.IObject" - } - }, - "TupleRestObject.IObject": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TupleRestObject" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagArray.json b/test/schemas/llm.application/3.1/TypeTagArray.json index 0d6ae738fe..38df0750ea 100644 --- a/test/schemas/llm.application/3.1/TypeTagArray.json +++ b/test/schemas/llm.application/3.1/TypeTagArray.json @@ -15,47 +15,43 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 + "description": "@minimum 10\n@maximum 10", + "type": "number" + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -78,7 +74,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -96,47 +93,43 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 + "description": "@minimum 10\n@maximum 10", + "type": "number" + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -156,91 +149,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -254,47 +162,43 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 + "description": "@minimum 10\n@maximum 10", + "type": "number" + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -320,7 +224,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -331,47 +236,43 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 + "description": "@minimum 10\n@maximum 10", + "type": "number" + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -398,91 +299,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -496,47 +312,43 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 + "description": "@minimum 10\n@maximum 10", + "type": "number" + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -558,91 +370,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -656,47 +383,43 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 + "description": "@minimum 10\n@maximum 10", + "type": "number" + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -718,91 +441,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -816,47 +454,43 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 + "description": "@minimum 10\n@maximum 10", + "type": "number" + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -880,96 +514,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagArray": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArray.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagArray.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - }, - "equal": { - "type": "array", - "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 - }, - "unique": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - } - }, - "required": [ - "items", - "minItems", - "both", - "equal", - "unique" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArray" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -983,47 +534,43 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 + "description": "@minimum 10\n@maximum 10", + "type": "number" + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ @@ -1049,6 +596,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagArrayUnion.json b/test/schemas/llm.application/3.1/TypeTagArrayUnion.json index 630d5da296..8462e93997 100644 --- a/test/schemas/llm.application/3.1/TypeTagArrayUnion.json +++ b/test/schemas/llm.application/3.1/TypeTagArrayUnion.json @@ -12,123 +12,44 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "maxLength": 7 + "description": "@maxLength 7" }, { "type": "number", - "maximum": 7 + "description": "@maximum 7" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } } }, "required": [ @@ -144,7 +65,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -159,123 +81,44 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "maxLength": 7 + "description": "@maxLength 7" }, { "type": "number", - "maximum": 7 + "description": "@maximum 7" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } } }, "required": [ @@ -288,81 +131,6 @@ } }, "second": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -373,123 +141,44 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "maxLength": 7 + "description": "@maxLength 7" }, { "type": "number", - "maximum": 7 + "description": "@maximum 7" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } } }, "required": [ @@ -508,7 +197,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -516,123 +206,44 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "maxLength": 7 + "description": "@maxLength 7" }, { "type": "number", - "maximum": 7 + "description": "@maximum 7" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } } }, "required": [ @@ -652,81 +263,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -737,123 +273,44 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "maxLength": 7 + "description": "@maxLength 7" }, { "type": "number", - "maximum": 7 + "description": "@maximum 7" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } } }, "required": [ @@ -868,81 +325,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -953,123 +335,44 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "maxLength": 7 + "description": "@maxLength 7" }, { "type": "number", - "maximum": 7 + "description": "@maximum 7" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } } }, "required": [ @@ -1084,81 +387,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1169,123 +397,44 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "maxLength": 7 + "description": "@maxLength 7" }, { "type": "number", - "maximum": 7 + "description": "@maximum 7" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } } }, "required": [ @@ -1302,86 +451,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagArrayUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1392,123 +468,44 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "maxLength": 7 + "description": "@maxLength 7" }, { "type": "number", - "maximum": 7 + "description": "@maximum 7" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } } }, "required": [ @@ -1527,6 +524,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagAtomicUnion.json b/test/schemas/llm.application/3.1/TypeTagAtomicUnion.json index 0f9b85e2bf..7f703222c3 100644 --- a/test/schemas/llm.application/3.1/TypeTagAtomicUnion.json +++ b/test/schemas/llm.application/3.1/TypeTagAtomicUnion.json @@ -15,69 +15,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -98,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -116,69 +62,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -196,57 +87,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -260,69 +100,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -346,7 +131,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -357,69 +143,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -444,57 +175,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -508,69 +188,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -590,57 +215,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -654,69 +228,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -736,57 +255,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -800,69 +268,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -884,62 +297,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagAtomicUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -953,69 +317,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } @@ -1039,6 +348,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagCustom.json b/test/schemas/llm.application/3.1/TypeTagCustom.json index 01426b513b..c90c6df786 100644 --- a/test/schemas/llm.application/3.1/TypeTagCustom.json +++ b/test/schemas/llm.application/3.1/TypeTagCustom.json @@ -10,20 +10,20 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "dollar": { - "type": "string", - "x-typia-monetary": "dollar" + "x-typia-monetary": "dollar", + "type": "string" }, "postfix": { - "type": "string", - "x-typia-postfix": "abcd" + "x-typia-postfix": "abcd", + "type": "string" }, "powerOf": { - "type": "number", - "x-typia-powerOf": 2 + "x-typia-powerOf": 2, + "type": "number" } }, "required": [ @@ -38,7 +38,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -51,20 +52,20 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "dollar": { - "type": "string", - "x-typia-monetary": "dollar" + "x-typia-monetary": "dollar", + "type": "string" }, "postfix": { - "type": "string", - "x-typia-postfix": "abcd" + "x-typia-postfix": "abcd", + "type": "string" }, "powerOf": { - "type": "number", - "x-typia-powerOf": 2 + "x-typia-powerOf": 2, + "type": "number" } }, "required": [ @@ -76,49 +77,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagCustom": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "dollar": { - "type": "string", - "x-typia-monetary": "dollar" - }, - "postfix": { - "type": "string", - "x-typia-postfix": "abcd" - }, - "powerOf": { - "type": "number", - "x-typia-powerOf": 2 - } - }, - "required": [ - "id", - "dollar", - "postfix", - "powerOf" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagCustom" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -127,20 +85,20 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "dollar": { - "type": "string", - "x-typia-monetary": "dollar" + "x-typia-monetary": "dollar", + "type": "string" }, "postfix": { - "type": "string", - "x-typia-postfix": "abcd" + "x-typia-postfix": "abcd", + "type": "string" }, "powerOf": { - "type": "number", - "x-typia-powerOf": 2 + "x-typia-powerOf": 2, + "type": "number" } }, "required": [ @@ -158,26 +116,27 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "dollar": { - "type": "string", - "x-typia-monetary": "dollar" + "x-typia-monetary": "dollar", + "type": "string" }, "postfix": { - "type": "string", - "x-typia-postfix": "abcd" + "x-typia-postfix": "abcd", + "type": "string" }, "powerOf": { - "type": "number", - "x-typia-powerOf": 2 + "x-typia-powerOf": 2, + "type": "number" } }, "required": [ @@ -196,49 +155,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagCustom": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "dollar": { - "type": "string", - "x-typia-monetary": "dollar" - }, - "postfix": { - "type": "string", - "x-typia-postfix": "abcd" - }, - "powerOf": { - "type": "number", - "x-typia-powerOf": 2 - } - }, - "required": [ - "id", - "dollar", - "postfix", - "powerOf" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagCustom" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -247,20 +163,20 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "dollar": { - "type": "string", - "x-typia-monetary": "dollar" + "x-typia-monetary": "dollar", + "type": "string" }, "postfix": { - "type": "string", - "x-typia-postfix": "abcd" + "x-typia-postfix": "abcd", + "type": "string" }, "powerOf": { - "type": "number", - "x-typia-powerOf": 2 + "x-typia-powerOf": 2, + "type": "number" } }, "required": [ @@ -274,49 +190,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagCustom": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "dollar": { - "type": "string", - "x-typia-monetary": "dollar" - }, - "postfix": { - "type": "string", - "x-typia-postfix": "abcd" - }, - "powerOf": { - "type": "number", - "x-typia-powerOf": 2 - } - }, - "required": [ - "id", - "dollar", - "postfix", - "powerOf" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagCustom" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -325,20 +198,20 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "dollar": { - "type": "string", - "x-typia-monetary": "dollar" + "x-typia-monetary": "dollar", + "type": "string" }, "postfix": { - "type": "string", - "x-typia-postfix": "abcd" + "x-typia-postfix": "abcd", + "type": "string" }, "powerOf": { - "type": "number", - "x-typia-powerOf": 2 + "x-typia-powerOf": 2, + "type": "number" } }, "required": [ @@ -352,49 +225,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagCustom": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "dollar": { - "type": "string", - "x-typia-monetary": "dollar" - }, - "postfix": { - "type": "string", - "x-typia-postfix": "abcd" - }, - "powerOf": { - "type": "number", - "x-typia-powerOf": 2 - } - }, - "required": [ - "id", - "dollar", - "postfix", - "powerOf" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagCustom" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -403,20 +233,20 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "dollar": { - "type": "string", - "x-typia-monetary": "dollar" + "x-typia-monetary": "dollar", + "type": "string" }, "postfix": { - "type": "string", - "x-typia-postfix": "abcd" + "x-typia-postfix": "abcd", + "type": "string" }, "powerOf": { - "type": "number", - "x-typia-powerOf": 2 + "x-typia-powerOf": 2, + "type": "number" } }, "required": [ @@ -432,54 +262,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagCustom": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "dollar": { - "type": "string", - "x-typia-monetary": "dollar" - }, - "postfix": { - "type": "string", - "x-typia-postfix": "abcd" - }, - "powerOf": { - "type": "number", - "x-typia-powerOf": 2 - } - }, - "required": [ - "id", - "dollar", - "postfix", - "powerOf" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagCustom" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -488,20 +277,20 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "dollar": { - "type": "string", - "x-typia-monetary": "dollar" + "x-typia-monetary": "dollar", + "type": "string" }, "postfix": { - "type": "string", - "x-typia-postfix": "abcd" + "x-typia-postfix": "abcd", + "type": "string" }, "powerOf": { - "type": "number", - "x-typia-powerOf": 2 + "x-typia-powerOf": 2, + "type": "number" } }, "required": [ @@ -519,6 +308,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagDefault.json b/test/schemas/llm.application/3.1/TypeTagDefault.json index 2cc037011f..d807c22151 100644 --- a/test/schemas/llm.application/3.1/TypeTagDefault.json +++ b/test/schemas/llm.application/3.1/TypeTagDefault.json @@ -25,129 +25,6 @@ "default": "Very long text, can you understand it?" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number", @@ -163,127 +40,6 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -297,128 +53,6 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -433,128 +67,6 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number" @@ -569,133 +81,10 @@ ] }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number", @@ -724,7 +113,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -752,129 +142,6 @@ "default": "Very long text, can you understand it?" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number", @@ -890,127 +157,6 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -1024,128 +170,6 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -1160,128 +184,6 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number" @@ -1296,133 +198,10 @@ ] }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number", @@ -1448,124 +227,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1589,129 +250,6 @@ "default": "Very long text, can you understand it?" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number", @@ -1727,127 +265,6 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -1861,128 +278,6 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -1997,128 +292,6 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number" @@ -2133,133 +306,10 @@ ] }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number", @@ -2291,7 +341,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -2312,129 +363,6 @@ "default": "Very long text, can you understand it?" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number", @@ -2450,127 +378,6 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -2584,128 +391,6 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -2720,128 +405,6 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number" @@ -2856,133 +419,10 @@ ] }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number", @@ -3015,124 +455,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3156,129 +478,6 @@ "default": "Very long text, can you understand it?" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number", @@ -3294,127 +493,6 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -3428,128 +506,6 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -3564,128 +520,6 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number" @@ -3700,133 +534,10 @@ ] }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number", @@ -3854,124 +565,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -3995,129 +588,6 @@ "default": "Very long text, can you understand it?" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number", @@ -4133,127 +603,6 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -4267,128 +616,6 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -4403,128 +630,6 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number" @@ -4539,133 +644,10 @@ ] }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number", @@ -4693,124 +675,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -4834,129 +698,6 @@ "default": "Very long text, can you understand it?" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number", @@ -4972,127 +713,6 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -5106,128 +726,6 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -5242,128 +740,6 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number" @@ -5378,133 +754,10 @@ ] }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number", @@ -5534,129 +787,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagDefault" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -5680,129 +817,6 @@ "default": "Very long text, can you understand it?" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number", @@ -5818,127 +832,6 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -5952,128 +845,6 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -6088,128 +859,6 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number" @@ -6224,133 +873,10 @@ ] }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number", @@ -6382,6 +908,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagFormat.json b/test/schemas/llm.application/3.1/TypeTagFormat.json index 8dc10f4918..bf33f31754 100644 --- a/test/schemas/llm.application/3.1/TypeTagFormat.json +++ b/test/schemas/llm.application/3.1/TypeTagFormat.json @@ -10,92 +10,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -128,7 +128,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -141,92 +142,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -256,139 +257,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -397,92 +265,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -518,98 +386,99 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -646,139 +515,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -787,92 +523,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -904,139 +640,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1045,92 +648,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -1162,139 +765,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1303,92 +773,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -1422,144 +892,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagFormat": { - "type": "object", - "properties": { - "byte": { - "type": "string", - "format": "byte" - }, - "password": { - "type": "string", - "format": "password" - }, - "regex": { - "type": "string", - "format": "regex" - }, - "uuid": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "format": "email" - }, - "hostname": { - "type": "string", - "format": "hostname" - }, - "idnEmail": { - "type": "string", - "format": "idn-email" - }, - "idnHostname": { - "type": "string", - "format": "idn-hostname" - }, - "iri": { - "type": "string", - "format": "iri" - }, - "iriReference": { - "type": "string", - "format": "iri-reference" - }, - "ipv4": { - "type": "string", - "format": "ipv4" - }, - "ipv6": { - "type": "string", - "format": "ipv6" - }, - "uri": { - "type": "string", - "format": "uri" - }, - "uriReference": { - "type": "string", - "format": "uri-reference" - }, - "uriTemplate": { - "type": "string", - "format": "uri-template" - }, - "url": { - "type": "string", - "format": "url" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "date": { - "type": "string", - "format": "date" - }, - "time": { - "type": "string", - "format": "time" - }, - "duration": { - "type": "string", - "format": "duration" - }, - "jsonPointer": { - "type": "string", - "format": "json-pointer" - }, - "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" - } - }, - "required": [ - "byte", - "password", - "regex", - "uuid", - "email", - "hostname", - "idnEmail", - "idnHostname", - "iri", - "iriReference", - "ipv4", - "ipv6", - "uri", - "uriReference", - "uriTemplate", - "url", - "datetime", - "date", - "time", - "duration", - "jsonPointer", - "relativeJsonPointer" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagFormat" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1568,92 +907,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ @@ -1689,6 +1028,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagLength.json b/test/schemas/llm.application/3.1/TypeTagLength.json index 6a38eea953..c5c89787d0 100644 --- a/test/schemas/llm.application/3.1/TypeTagLength.json +++ b/test/schemas/llm.application/3.1/TypeTagLength.json @@ -15,27 +15,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -58,7 +55,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -76,27 +74,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -116,71 +111,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -194,27 +124,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -240,7 +167,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -251,27 +179,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -298,71 +223,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -376,27 +236,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -418,71 +275,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -496,27 +288,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -538,71 +327,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -616,27 +340,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -660,76 +381,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagLength": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagLength.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagLength.Type": { - "type": "object", - "properties": { - "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 - }, - "minimum": { - "type": "string", - "minLength": 3 - }, - "maximum": { - "type": "string", - "maxLength": 7 - }, - "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 - } - }, - "required": [ - "fixed", - "minimum", - "maximum", - "minimum_and_maximum", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagLength" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -743,27 +401,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ @@ -789,6 +444,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagMatrix.json b/test/schemas/llm.application/3.1/TypeTagMatrix.json index ea14ec5f95..a2328c6fd5 100644 --- a/test/schemas/llm.application/3.1/TypeTagMatrix.json +++ b/test/schemas/llm.application/3.1/TypeTagMatrix.json @@ -10,18 +10,16 @@ "type": "object", "properties": { "matrix": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { + "description": "@minItems 4\n@maxItems 4", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } + } } }, "required": [ @@ -33,7 +31,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -46,18 +45,16 @@ "type": "object", "properties": { "matrix": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { + "description": "@minItems 4\n@maxItems 4", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } + } } }, "required": [ @@ -66,44 +63,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagMatrix": { - "type": "object", - "properties": { - "matrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "matrix" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -112,18 +71,16 @@ "type": "object", "properties": { "matrix": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { + "description": "@minItems 4\n@maxItems 4", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } + } } }, "required": [ @@ -138,24 +95,23 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "matrix": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { + "description": "@minItems 4\n@maxItems 4", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } + } } }, "required": [ @@ -171,44 +127,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagMatrix": { - "type": "object", - "properties": { - "matrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "matrix" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -217,18 +135,16 @@ "type": "object", "properties": { "matrix": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { + "description": "@minItems 4\n@maxItems 4", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } + } } }, "required": [ @@ -239,44 +155,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagMatrix": { - "type": "object", - "properties": { - "matrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "matrix" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -285,18 +163,16 @@ "type": "object", "properties": { "matrix": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { + "description": "@minItems 4\n@maxItems 4", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } + } } }, "required": [ @@ -307,44 +183,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagMatrix": { - "type": "object", - "properties": { - "matrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "matrix" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -353,18 +191,16 @@ "type": "object", "properties": { "matrix": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { + "description": "@minItems 4\n@maxItems 4", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } + } } }, "required": [ @@ -377,49 +213,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagMatrix": { - "type": "object", - "properties": { - "matrix": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 - } - }, - "required": [ - "matrix" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagMatrix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -428,18 +228,16 @@ "type": "object", "properties": { "matrix": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { + "description": "@minItems 4\n@maxItems 4", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } + } } }, "required": [ @@ -454,6 +252,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagObjectUnion.json b/test/schemas/llm.application/3.1/TypeTagObjectUnion.json index e707aeefad..89f1bccfea 100644 --- a/test/schemas/llm.application/3.1/TypeTagObjectUnion.json +++ b/test/schemas/llm.application/3.1/TypeTagObjectUnion.json @@ -9,70 +9,13 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -84,9 +27,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -101,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -113,70 +56,13 @@ "first": { "type": "array", "items": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -188,9 +74,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -202,63 +87,6 @@ } }, "second": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -266,70 +94,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -341,9 +112,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -361,75 +131,19 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", "items": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -441,9 +155,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -462,63 +175,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -526,70 +182,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -601,9 +200,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -617,63 +215,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -681,70 +222,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -756,9 +240,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -772,63 +255,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -836,70 +262,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -911,9 +280,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -929,68 +297,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -998,70 +311,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -1073,9 +329,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ @@ -1093,6 +348,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagPattern.json b/test/schemas/llm.application/3.1/TypeTagPattern.json index 3c2da3318f..838443e1e3 100644 --- a/test/schemas/llm.application/3.1/TypeTagPattern.json +++ b/test/schemas/llm.application/3.1/TypeTagPattern.json @@ -10,20 +10,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -38,7 +38,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -51,20 +52,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -76,49 +77,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -127,20 +85,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -158,26 +116,27 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -196,49 +155,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -247,20 +163,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -274,49 +190,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -325,20 +198,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -352,49 +225,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -403,20 +233,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -432,54 +262,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagPattern": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" - }, - "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - }, - "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" - } - }, - "required": [ - "uuid", - "email", - "ipv4", - "ipv6" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagPattern" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -488,20 +277,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ @@ -519,6 +308,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagRange.json b/test/schemas/llm.application/3.1/TypeTagRange.json index e507437e93..e685205fbf 100644 --- a/test/schemas/llm.application/3.1/TypeTagRange.json +++ b/test/schemas/llm.application/3.1/TypeTagRange.json @@ -15,51 +15,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -86,7 +75,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -104,51 +94,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -172,99 +151,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -278,51 +164,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -352,7 +227,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -363,51 +239,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -438,99 +303,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -544,51 +316,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -614,99 +375,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -720,51 +388,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -790,99 +447,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -896,51 +460,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -968,104 +521,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagRange": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagRange.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagRange.Type": { - "type": "object", - "properties": { - "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 - }, - "greater_equal": { - "type": "integer", - "minimum": 3 - }, - "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 - }, - "less_equal": { - "type": "integer", - "maximum": 7 - }, - "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 - }, - "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 - }, - "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 - }, - "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 - } - }, - "required": [ - "greater", - "greater_equal", - "less", - "less_equal", - "greater_less", - "greater_equal_less", - "greater_less_equal", - "greater_equal_less_equal", - "equal" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagRange" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1079,51 +541,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ @@ -1153,6 +604,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagTuple.json b/test/schemas/llm.application/3.1/TypeTagTuple.json deleted file mode 100644 index 8eaefa6aac..0000000000 --- a/test/schemas/llm.application/3.1/TypeTagTuple.json +++ /dev/null @@ -1,745 +0,0 @@ -{ - "model": "3.1", - "functions": [ - { - "name": "insert", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - } - }, - "required": [ - "first" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "reduce", - "parameters": { - "type": "object", - "properties": { - "first": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - }, - "second": { - "components": { - "schemas": { - "TypeTagTuple": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - }, - "strict": true - }, - { - "name": "coalesce", - "parameters": { - "type": "object", - "properties": { - "first": { - "components": { - "schemas": { - "TypeTagTuple": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - } - ] - }, - "second": { - "components": { - "schemas": { - "TypeTagTuple": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - } - ] - }, - "third": { - "components": { - "schemas": { - "TypeTagTuple": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "first", - "second" - ], - "additionalProperties": false - }, - "output": { - "components": { - "schemas": { - "TypeTagTuple": { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagTuple" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false - } - ] - }, - "strict": true - } - ], - "options": { - "separate": null, - "recursive": 3 - } -} \ No newline at end of file diff --git a/test/schemas/llm.application/3.1/TypeTagType.json b/test/schemas/llm.application/3.1/TypeTagType.json index 56a82c5031..dc4a1c7e66 100644 --- a/test/schemas/llm.application/3.1/TypeTagType.json +++ b/test/schemas/llm.application/3.1/TypeTagType.json @@ -58,7 +58,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -116,71 +117,6 @@ "additionalProperties": false }, "second": { - "components": { - "schemas": { - "TypeTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer" - }, - "uint": { - "type": "integer" - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -240,7 +176,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -298,71 +235,6 @@ "type": "object", "properties": { "first": { - "components": { - "schemas": { - "TypeTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer" - }, - "uint": { - "type": "integer" - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -418,71 +290,6 @@ ] }, "second": { - "components": { - "schemas": { - "TypeTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer" - }, - "uint": { - "type": "integer" - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -538,71 +345,6 @@ ] }, "third": { - "components": { - "schemas": { - "TypeTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer" - }, - "uint": { - "type": "integer" - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -660,76 +402,13 @@ }, "required": [ "first", - "second" + "second", + "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { - "components": { - "schemas": { - "TypeTagType": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagType.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagType.Type": { - "type": "object", - "properties": { - "int": { - "type": "integer" - }, - "uint": { - "type": "integer" - }, - "int32": { - "type": "integer" - }, - "uint32": { - "type": "integer" - }, - "int64": { - "type": "integer" - }, - "uint64": { - "type": "integer" - }, - "float": { - "type": "number" - } - }, - "required": [ - "int", - "uint", - "int32", - "uint32", - "int64", - "uint64", - "float" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TypeTagType" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -789,6 +468,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayAny.json b/test/schemas/llm.application/chatgpt/ArrayAny.json index 57171d7466..895553b128 100644 --- a/test/schemas/llm.application/chatgpt/ArrayAny.json +++ b/test/schemas/llm.application/chatgpt/ArrayAny.json @@ -98,7 +98,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -295,7 +296,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -683,7 +685,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -785,7 +788,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayHierarchical.json b/test/schemas/llm.application/chatgpt/ArrayHierarchical.json index 46839753fe..f481614893 100644 --- a/test/schemas/llm.application/chatgpt/ArrayHierarchical.json +++ b/test/schemas/llm.application/chatgpt/ArrayHierarchical.json @@ -136,7 +136,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -409,7 +410,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -949,7 +951,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -1089,7 +1092,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayHierarchicalPointer.json b/test/schemas/llm.application/chatgpt/ArrayHierarchicalPointer.json index 42ee624475..b850050cfb 100644 --- a/test/schemas/llm.application/chatgpt/ArrayHierarchicalPointer.json +++ b/test/schemas/llm.application/chatgpt/ArrayHierarchicalPointer.json @@ -145,7 +145,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -436,7 +437,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -1012,7 +1014,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -1161,7 +1164,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayMatrix.json b/test/schemas/llm.application/chatgpt/ArrayMatrix.json index 68b36462b2..9692a04b22 100644 --- a/test/schemas/llm.application/chatgpt/ArrayMatrix.json +++ b/test/schemas/llm.application/chatgpt/ArrayMatrix.json @@ -22,7 +22,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -67,7 +68,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -151,7 +153,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -177,7 +180,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayRecursive.json b/test/schemas/llm.application/chatgpt/ArrayRecursive.json index 90060a3c06..b15c5074c0 100644 --- a/test/schemas/llm.application/chatgpt/ArrayRecursive.json +++ b/test/schemas/llm.application/chatgpt/ArrayRecursive.json @@ -243,7 +243,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionExplicit.json b/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionExplicit.json index 29a50ae385..fb3a89ac4e 100644 --- a/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionExplicit.json +++ b/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionExplicit.json @@ -783,7 +783,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionExplicitPointer.json b/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionExplicitPointer.json index d8cb79d98e..61df1546df 100644 --- a/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionExplicitPointer.json +++ b/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionExplicitPointer.json @@ -882,7 +882,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionImplicit.json b/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionImplicit.json index 6d8b51b0e6..eca3df0dbd 100644 --- a/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionImplicit.json +++ b/test/schemas/llm.application/chatgpt/ArrayRecursiveUnionImplicit.json @@ -708,7 +708,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayRepeatedNullable.json b/test/schemas/llm.application/chatgpt/ArrayRepeatedNullable.json index 6c85ad7414..d3d03b380c 100644 --- a/test/schemas/llm.application/chatgpt/ArrayRepeatedNullable.json +++ b/test/schemas/llm.application/chatgpt/ArrayRepeatedNullable.json @@ -155,7 +155,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayRepeatedRequired.json b/test/schemas/llm.application/chatgpt/ArrayRepeatedRequired.json index 1215411367..a332835b9c 100644 --- a/test/schemas/llm.application/chatgpt/ArrayRepeatedRequired.json +++ b/test/schemas/llm.application/chatgpt/ArrayRepeatedRequired.json @@ -198,7 +198,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayRepeatedUnion.json b/test/schemas/llm.application/chatgpt/ArrayRepeatedUnion.json index 3ae11c3d1d..82eb14ded9 100644 --- a/test/schemas/llm.application/chatgpt/ArrayRepeatedUnion.json +++ b/test/schemas/llm.application/chatgpt/ArrayRepeatedUnion.json @@ -1006,7 +1006,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArraySimple.json b/test/schemas/llm.application/chatgpt/ArraySimple.json index 5179da070f..e3e7a08e95 100644 --- a/test/schemas/llm.application/chatgpt/ArraySimple.json +++ b/test/schemas/llm.application/chatgpt/ArraySimple.json @@ -53,7 +53,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -160,7 +161,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -368,7 +370,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -425,7 +428,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ArrayUnion.json b/test/schemas/llm.application/chatgpt/ArrayUnion.json index 51c06e0076..8d799dbefc 100644 --- a/test/schemas/llm.application/chatgpt/ArrayUnion.json +++ b/test/schemas/llm.application/chatgpt/ArrayUnion.json @@ -35,7 +35,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -106,7 +107,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -242,7 +244,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -281,7 +284,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/AtomicUnion.json b/test/schemas/llm.application/chatgpt/AtomicUnion.json index 174287bb16..57e38e0a45 100644 --- a/test/schemas/llm.application/chatgpt/AtomicUnion.json +++ b/test/schemas/llm.application/chatgpt/AtomicUnion.json @@ -29,7 +29,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -88,7 +89,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -200,7 +202,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -233,7 +236,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ClassGetter.json b/test/schemas/llm.application/chatgpt/ClassGetter.json index b39e7f524f..7d297421fb 100644 --- a/test/schemas/llm.application/chatgpt/ClassGetter.json +++ b/test/schemas/llm.application/chatgpt/ClassGetter.json @@ -37,7 +37,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -112,7 +113,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -256,7 +258,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -297,7 +300,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ClassMethod.json b/test/schemas/llm.application/chatgpt/ClassMethod.json index a3e8b8a4ac..c92ea7d70e 100644 --- a/test/schemas/llm.application/chatgpt/ClassMethod.json +++ b/test/schemas/llm.application/chatgpt/ClassMethod.json @@ -26,7 +26,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -79,7 +80,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -179,7 +181,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -209,7 +212,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ClassPropertyAssignment.json b/test/schemas/llm.application/chatgpt/ClassPropertyAssignment.json index fc1391e0ed..6727935272 100644 --- a/test/schemas/llm.application/chatgpt/ClassPropertyAssignment.json +++ b/test/schemas/llm.application/chatgpt/ClassPropertyAssignment.json @@ -44,7 +44,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -133,7 +134,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -305,7 +307,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -353,7 +356,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagArray.json b/test/schemas/llm.application/chatgpt/CommentTagArray.json index 87f9740adf..f5c8ac7fdc 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagArray.json +++ b/test/schemas/llm.application/chatgpt/CommentTagArray.json @@ -70,7 +70,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -211,7 +212,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -487,7 +489,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -561,7 +564,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagArrayUnion.json b/test/schemas/llm.application/chatgpt/CommentTagArrayUnion.json index 48eda1e142..fb8f505618 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagArrayUnion.json +++ b/test/schemas/llm.application/chatgpt/CommentTagArrayUnion.json @@ -60,7 +60,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -181,7 +182,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -417,7 +419,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -481,7 +484,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagAtomicUnion.json b/test/schemas/llm.application/chatgpt/CommentTagAtomicUnion.json index 58b7b0883f..62e20a5f0c 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagAtomicUnion.json +++ b/test/schemas/llm.application/chatgpt/CommentTagAtomicUnion.json @@ -43,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -130,7 +131,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -298,7 +300,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -345,7 +348,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagDefault.json b/test/schemas/llm.application/chatgpt/CommentTagDefault.json index 566c560d50..af07279dc8 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagDefault.json +++ b/test/schemas/llm.application/chatgpt/CommentTagDefault.json @@ -129,7 +129,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -388,7 +389,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -900,7 +902,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -1033,7 +1036,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagFormat.json b/test/schemas/llm.application/chatgpt/CommentTagFormat.json index 1bed9d449e..016cfa9094 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagFormat.json +++ b/test/schemas/llm.application/chatgpt/CommentTagFormat.json @@ -128,7 +128,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -385,7 +386,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -893,7 +895,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -1025,7 +1028,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagLength.json b/test/schemas/llm.application/chatgpt/CommentTagLength.json index 88d090e91e..53c8a68fb5 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagLength.json +++ b/test/schemas/llm.application/chatgpt/CommentTagLength.json @@ -55,7 +55,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -166,7 +167,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -382,7 +384,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -441,7 +444,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagObjectUnion.json b/test/schemas/llm.application/chatgpt/CommentTagObjectUnion.json index bfe2688f27..0d016ed0ca 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagObjectUnion.json +++ b/test/schemas/llm.application/chatgpt/CommentTagObjectUnion.json @@ -43,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -130,7 +131,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -298,7 +300,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -345,7 +348,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagPattern.json b/test/schemas/llm.application/chatgpt/CommentTagPattern.json index a0210c69b4..c8aa111949 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagPattern.json +++ b/test/schemas/llm.application/chatgpt/CommentTagPattern.json @@ -38,7 +38,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -115,7 +116,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -263,7 +265,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -305,7 +308,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagRange.json b/test/schemas/llm.application/chatgpt/CommentTagRange.json index 7dda0ad056..280677caf5 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagRange.json +++ b/test/schemas/llm.application/chatgpt/CommentTagRange.json @@ -75,7 +75,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -226,7 +227,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -522,7 +524,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -601,7 +604,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/CommentTagType.json b/test/schemas/llm.application/chatgpt/CommentTagType.json index cd801a7bd5..695787336d 100644 --- a/test/schemas/llm.application/chatgpt/CommentTagType.json +++ b/test/schemas/llm.application/chatgpt/CommentTagType.json @@ -62,7 +62,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -187,7 +188,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -431,7 +433,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -497,7 +500,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ConstantAtomicAbsorbed.json b/test/schemas/llm.application/chatgpt/ConstantAtomicAbsorbed.json index e7ac6c8cdb..1384999e07 100644 --- a/test/schemas/llm.application/chatgpt/ConstantAtomicAbsorbed.json +++ b/test/schemas/llm.application/chatgpt/ConstantAtomicAbsorbed.json @@ -28,7 +28,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -85,7 +86,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -193,7 +195,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -225,7 +228,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ConstantAtomicTagged.json b/test/schemas/llm.application/chatgpt/ConstantAtomicTagged.json index f829906825..aff3bc2e11 100644 --- a/test/schemas/llm.application/chatgpt/ConstantAtomicTagged.json +++ b/test/schemas/llm.application/chatgpt/ConstantAtomicTagged.json @@ -41,7 +41,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -124,7 +125,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -284,7 +286,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -329,7 +332,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ConstantAtomicUnion.json b/test/schemas/llm.application/chatgpt/ConstantAtomicUnion.json index 1d9a360ce9..4fc03902bc 100644 --- a/test/schemas/llm.application/chatgpt/ConstantAtomicUnion.json +++ b/test/schemas/llm.application/chatgpt/ConstantAtomicUnion.json @@ -52,7 +52,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -157,7 +158,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -361,7 +363,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -417,7 +420,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ConstantConstEnumeration.json b/test/schemas/llm.application/chatgpt/ConstantConstEnumeration.json index 9bd8d3fbb0..63c6eedfdd 100644 --- a/test/schemas/llm.application/chatgpt/ConstantConstEnumeration.json +++ b/test/schemas/llm.application/chatgpt/ConstantConstEnumeration.json @@ -32,7 +32,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -97,7 +98,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -221,7 +223,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -257,7 +260,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ConstantEnumeration.json b/test/schemas/llm.application/chatgpt/ConstantEnumeration.json index 9bd8d3fbb0..63c6eedfdd 100644 --- a/test/schemas/llm.application/chatgpt/ConstantEnumeration.json +++ b/test/schemas/llm.application/chatgpt/ConstantEnumeration.json @@ -32,7 +32,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -97,7 +98,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -221,7 +223,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -257,7 +260,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/DynamicConstant.json b/test/schemas/llm.application/chatgpt/DynamicConstant.json index eb556b9106..79966eb28d 100644 --- a/test/schemas/llm.application/chatgpt/DynamicConstant.json +++ b/test/schemas/llm.application/chatgpt/DynamicConstant.json @@ -43,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -130,7 +131,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -298,7 +300,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -345,7 +348,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/DynamicEnumeration.json b/test/schemas/llm.application/chatgpt/DynamicEnumeration.json index 01304c80be..4938161ac4 100644 --- a/test/schemas/llm.application/chatgpt/DynamicEnumeration.json +++ b/test/schemas/llm.application/chatgpt/DynamicEnumeration.json @@ -67,7 +67,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -202,7 +203,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -466,7 +468,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -537,7 +540,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/DynamicNever.json b/test/schemas/llm.application/chatgpt/DynamicNever.json index de8b280961..e5244f5508 100644 --- a/test/schemas/llm.application/chatgpt/DynamicNever.json +++ b/test/schemas/llm.application/chatgpt/DynamicNever.json @@ -16,7 +16,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -49,7 +50,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -109,7 +111,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -129,7 +132,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/DynamicUndefined.json b/test/schemas/llm.application/chatgpt/DynamicUndefined.json index de8b280961..e5244f5508 100644 --- a/test/schemas/llm.application/chatgpt/DynamicUndefined.json +++ b/test/schemas/llm.application/chatgpt/DynamicUndefined.json @@ -16,7 +16,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -49,7 +50,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -109,7 +111,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -129,7 +132,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectAlias.json b/test/schemas/llm.application/chatgpt/ObjectAlias.json index 6646d04cf8..4b569329fd 100644 --- a/test/schemas/llm.application/chatgpt/ObjectAlias.json +++ b/test/schemas/llm.application/chatgpt/ObjectAlias.json @@ -84,7 +84,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -253,7 +254,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -585,7 +587,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -673,7 +676,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectDate.json b/test/schemas/llm.application/chatgpt/ObjectDate.json index 6d08517368..83a4e30d6a 100644 --- a/test/schemas/llm.application/chatgpt/ObjectDate.json +++ b/test/schemas/llm.application/chatgpt/ObjectDate.json @@ -78,7 +78,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -235,7 +236,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -543,7 +545,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -625,7 +628,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectDescription.json b/test/schemas/llm.application/chatgpt/ObjectDescription.json index 68cd22595b..fcaee50df5 100644 --- a/test/schemas/llm.application/chatgpt/ObjectDescription.json +++ b/test/schemas/llm.application/chatgpt/ObjectDescription.json @@ -53,7 +53,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -160,7 +161,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "title": "This is the title of object type", @@ -368,7 +370,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -425,7 +428,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectGenericAlias.json b/test/schemas/llm.application/chatgpt/ObjectGenericAlias.json index aae47efba9..73c315a192 100644 --- a/test/schemas/llm.application/chatgpt/ObjectGenericAlias.json +++ b/test/schemas/llm.application/chatgpt/ObjectGenericAlias.json @@ -22,7 +22,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -67,7 +68,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -151,7 +153,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -177,7 +180,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectGenericArray.json b/test/schemas/llm.application/chatgpt/ObjectGenericArray.json index 23dd8ca897..f0efd9161d 100644 --- a/test/schemas/llm.application/chatgpt/ObjectGenericArray.json +++ b/test/schemas/llm.application/chatgpt/ObjectGenericArray.json @@ -63,7 +63,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -190,7 +191,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -438,7 +440,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -505,7 +508,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectGenericUnion.json b/test/schemas/llm.application/chatgpt/ObjectGenericUnion.json index f85d371438..bdd6794af1 100644 --- a/test/schemas/llm.application/chatgpt/ObjectGenericUnion.json +++ b/test/schemas/llm.application/chatgpt/ObjectGenericUnion.json @@ -367,7 +367,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -1102,7 +1103,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -2566,7 +2568,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -2937,7 +2940,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectInternal.json b/test/schemas/llm.application/chatgpt/ObjectInternal.json index 980ffda0f3..f7db3316f8 100644 --- a/test/schemas/llm.application/chatgpt/ObjectInternal.json +++ b/test/schemas/llm.application/chatgpt/ObjectInternal.json @@ -26,7 +26,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -79,7 +80,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -179,7 +181,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -209,7 +212,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectIntersection.json b/test/schemas/llm.application/chatgpt/ObjectIntersection.json index 5e60e72b71..1da656f1f7 100644 --- a/test/schemas/llm.application/chatgpt/ObjectIntersection.json +++ b/test/schemas/llm.application/chatgpt/ObjectIntersection.json @@ -30,7 +30,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -91,7 +92,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -207,7 +209,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -241,7 +244,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectJsonTag.json b/test/schemas/llm.application/chatgpt/ObjectJsonTag.json index 1024899138..7ce74ecc9a 100644 --- a/test/schemas/llm.application/chatgpt/ObjectJsonTag.json +++ b/test/schemas/llm.application/chatgpt/ObjectJsonTag.json @@ -41,7 +41,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -124,7 +125,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -284,7 +286,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -329,7 +332,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectLiteralProperty.json b/test/schemas/llm.application/chatgpt/ObjectLiteralProperty.json index a31c8d45ef..9807327cff 100644 --- a/test/schemas/llm.application/chatgpt/ObjectLiteralProperty.json +++ b/test/schemas/llm.application/chatgpt/ObjectLiteralProperty.json @@ -26,7 +26,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -79,7 +80,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -179,7 +181,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -209,7 +212,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectLiteralType.json b/test/schemas/llm.application/chatgpt/ObjectLiteralType.json index 96016902e6..233262d5e6 100644 --- a/test/schemas/llm.application/chatgpt/ObjectLiteralType.json +++ b/test/schemas/llm.application/chatgpt/ObjectLiteralType.json @@ -30,7 +30,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -91,7 +92,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -207,7 +209,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -241,7 +244,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectNullable.json b/test/schemas/llm.application/chatgpt/ObjectNullable.json index 7a35c91265..25a7c9f957 100644 --- a/test/schemas/llm.application/chatgpt/ObjectNullable.json +++ b/test/schemas/llm.application/chatgpt/ObjectNullable.json @@ -127,7 +127,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -382,7 +383,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -886,7 +888,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -1017,7 +1020,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectOptional.json b/test/schemas/llm.application/chatgpt/ObjectOptional.json index ef6b5b16bd..ad7aa4378f 100644 --- a/test/schemas/llm.application/chatgpt/ObjectOptional.json +++ b/test/schemas/llm.application/chatgpt/ObjectOptional.json @@ -34,7 +34,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -103,7 +104,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -235,7 +237,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -273,7 +276,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectPartial.json b/test/schemas/llm.application/chatgpt/ObjectPartial.json index 6736d6c646..6a830e1cec 100644 --- a/test/schemas/llm.application/chatgpt/ObjectPartial.json +++ b/test/schemas/llm.application/chatgpt/ObjectPartial.json @@ -513,7 +513,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectPartialAndRequired.json b/test/schemas/llm.application/chatgpt/ObjectPartialAndRequired.json index a60758c395..46d055f638 100644 --- a/test/schemas/llm.application/chatgpt/ObjectPartialAndRequired.json +++ b/test/schemas/llm.application/chatgpt/ObjectPartialAndRequired.json @@ -225,7 +225,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectPrimitive.json b/test/schemas/llm.application/chatgpt/ObjectPrimitive.json index 2d23b03aab..61cad0a89c 100644 --- a/test/schemas/llm.application/chatgpt/ObjectPrimitive.json +++ b/test/schemas/llm.application/chatgpt/ObjectPrimitive.json @@ -79,7 +79,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -238,7 +239,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -550,7 +552,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -633,7 +636,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectRecursive.json b/test/schemas/llm.application/chatgpt/ObjectRecursive.json index fa4c9b6870..e5b7568689 100644 --- a/test/schemas/llm.application/chatgpt/ObjectRecursive.json +++ b/test/schemas/llm.application/chatgpt/ObjectRecursive.json @@ -267,7 +267,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectRequired.json b/test/schemas/llm.application/chatgpt/ObjectRequired.json index 51dd6f44c5..7261238cbd 100644 --- a/test/schemas/llm.application/chatgpt/ObjectRequired.json +++ b/test/schemas/llm.application/chatgpt/ObjectRequired.json @@ -513,7 +513,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectSimple.json b/test/schemas/llm.application/chatgpt/ObjectSimple.json index e8f832df66..9e852ac6ba 100644 --- a/test/schemas/llm.application/chatgpt/ObjectSimple.json +++ b/test/schemas/llm.application/chatgpt/ObjectSimple.json @@ -102,7 +102,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -307,7 +308,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -711,7 +713,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -817,7 +820,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectUndefined.json b/test/schemas/llm.application/chatgpt/ObjectUndefined.json index cf4dc51efd..69709bb9c7 100644 --- a/test/schemas/llm.application/chatgpt/ObjectUndefined.json +++ b/test/schemas/llm.application/chatgpt/ObjectUndefined.json @@ -59,7 +59,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -178,7 +179,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -410,7 +412,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -473,7 +476,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectUnionComposite.json b/test/schemas/llm.application/chatgpt/ObjectUnionComposite.json index b1d3461495..6977032381 100644 --- a/test/schemas/llm.application/chatgpt/ObjectUnionComposite.json +++ b/test/schemas/llm.application/chatgpt/ObjectUnionComposite.json @@ -381,7 +381,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -1144,7 +1145,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -2664,7 +2666,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -3049,7 +3052,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectUnionCompositePointer.json b/test/schemas/llm.application/chatgpt/ObjectUnionCompositePointer.json index 58a3060651..f6a246cfd9 100644 --- a/test/schemas/llm.application/chatgpt/ObjectUnionCompositePointer.json +++ b/test/schemas/llm.application/chatgpt/ObjectUnionCompositePointer.json @@ -399,7 +399,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -1198,7 +1199,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -2790,7 +2792,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -3193,7 +3196,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectUnionDouble.json b/test/schemas/llm.application/chatgpt/ObjectUnionDouble.json index d3008beb3f..26b70b91bf 100644 --- a/test/schemas/llm.application/chatgpt/ObjectUnionDouble.json +++ b/test/schemas/llm.application/chatgpt/ObjectUnionDouble.json @@ -156,7 +156,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -469,7 +470,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -1089,7 +1091,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -1249,7 +1252,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectUnionExplicit.json b/test/schemas/llm.application/chatgpt/ObjectUnionExplicit.json index 7101db640c..20ff39917b 100644 --- a/test/schemas/llm.application/chatgpt/ObjectUnionExplicit.json +++ b/test/schemas/llm.application/chatgpt/ObjectUnionExplicit.json @@ -385,7 +385,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -1156,7 +1157,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -2692,7 +2694,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -3081,7 +3084,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectUnionExplicitPointer.json b/test/schemas/llm.application/chatgpt/ObjectUnionExplicitPointer.json index 9c96097120..75f9fd5d51 100644 --- a/test/schemas/llm.application/chatgpt/ObjectUnionExplicitPointer.json +++ b/test/schemas/llm.application/chatgpt/ObjectUnionExplicitPointer.json @@ -403,7 +403,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -1210,7 +1211,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -2818,7 +2820,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -3225,7 +3228,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectUnionImplicit.json b/test/schemas/llm.application/chatgpt/ObjectUnionImplicit.json index 1cb0dbc8a0..10c7dd2f6d 100644 --- a/test/schemas/llm.application/chatgpt/ObjectUnionImplicit.json +++ b/test/schemas/llm.application/chatgpt/ObjectUnionImplicit.json @@ -633,7 +633,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -1900,7 +1901,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -4428,7 +4430,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -5065,7 +5068,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ObjectUnionNonPredictable.json b/test/schemas/llm.application/chatgpt/ObjectUnionNonPredictable.json index 136f64a7e2..b61ce0e511 100644 --- a/test/schemas/llm.application/chatgpt/ObjectUnionNonPredictable.json +++ b/test/schemas/llm.application/chatgpt/ObjectUnionNonPredictable.json @@ -107,7 +107,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -322,7 +323,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -746,7 +748,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -857,7 +860,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TemplateAtomic.json b/test/schemas/llm.application/chatgpt/TemplateAtomic.json index f95b2bc6d9..7c839a6807 100644 --- a/test/schemas/llm.application/chatgpt/TemplateAtomic.json +++ b/test/schemas/llm.application/chatgpt/TemplateAtomic.json @@ -61,7 +61,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -184,7 +185,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -424,7 +426,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -489,7 +492,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TemplateConstant.json b/test/schemas/llm.application/chatgpt/TemplateConstant.json index 4c66f3ac18..6d8b58af4b 100644 --- a/test/schemas/llm.application/chatgpt/TemplateConstant.json +++ b/test/schemas/llm.application/chatgpt/TemplateConstant.json @@ -63,7 +63,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -190,7 +191,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -438,7 +440,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -505,7 +508,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TemplateUnion.json b/test/schemas/llm.application/chatgpt/TemplateUnion.json index c215b2dec8..a95312d094 100644 --- a/test/schemas/llm.application/chatgpt/TemplateUnion.json +++ b/test/schemas/llm.application/chatgpt/TemplateUnion.json @@ -80,7 +80,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -241,7 +242,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -557,7 +559,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -641,7 +644,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ToJsonAtomicUnion.json b/test/schemas/llm.application/chatgpt/ToJsonAtomicUnion.json index 174287bb16..57e38e0a45 100644 --- a/test/schemas/llm.application/chatgpt/ToJsonAtomicUnion.json +++ b/test/schemas/llm.application/chatgpt/ToJsonAtomicUnion.json @@ -29,7 +29,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -88,7 +89,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -200,7 +202,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -233,7 +236,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ToJsonDouble.json b/test/schemas/llm.application/chatgpt/ToJsonDouble.json index 2fa8c63f0b..6de88fbbb7 100644 --- a/test/schemas/llm.application/chatgpt/ToJsonDouble.json +++ b/test/schemas/llm.application/chatgpt/ToJsonDouble.json @@ -26,7 +26,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -79,7 +80,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -179,7 +181,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -209,7 +212,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ToJsonNull.json b/test/schemas/llm.application/chatgpt/ToJsonNull.json index 4b0241f6ae..c394a9c0e4 100644 --- a/test/schemas/llm.application/chatgpt/ToJsonNull.json +++ b/test/schemas/llm.application/chatgpt/ToJsonNull.json @@ -13,7 +13,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -40,7 +41,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "null" @@ -88,7 +90,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -105,7 +108,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/ToJsonUnion.json b/test/schemas/llm.application/chatgpt/ToJsonUnion.json index ef452b2587..4362b613ee 100644 --- a/test/schemas/llm.application/chatgpt/ToJsonUnion.json +++ b/test/schemas/llm.application/chatgpt/ToJsonUnion.json @@ -86,7 +86,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -259,7 +260,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -599,7 +601,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -689,7 +692,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagArray.json b/test/schemas/llm.application/chatgpt/TypeTagArray.json index 9ff5014637..9d4f4aa055 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagArray.json +++ b/test/schemas/llm.application/chatgpt/TypeTagArray.json @@ -74,7 +74,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -223,7 +224,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -515,7 +517,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -593,7 +596,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagArrayUnion.json b/test/schemas/llm.application/chatgpt/TypeTagArrayUnion.json index 3904b58cbf..6748eb5815 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagArrayUnion.json +++ b/test/schemas/llm.application/chatgpt/TypeTagArrayUnion.json @@ -65,7 +65,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -196,7 +197,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -452,7 +454,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -521,7 +524,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagAtomicUnion.json b/test/schemas/llm.application/chatgpt/TypeTagAtomicUnion.json index 58b7b0883f..62e20a5f0c 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagAtomicUnion.json +++ b/test/schemas/llm.application/chatgpt/TypeTagAtomicUnion.json @@ -43,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -130,7 +131,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -298,7 +300,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -345,7 +348,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagCustom.json b/test/schemas/llm.application/chatgpt/TypeTagCustom.json index dec78fb473..5612f9c54b 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagCustom.json +++ b/test/schemas/llm.application/chatgpt/TypeTagCustom.json @@ -38,7 +38,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -115,7 +116,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -263,7 +265,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -305,7 +308,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagDefault.json b/test/schemas/llm.application/chatgpt/TypeTagDefault.json index 24426306ea..6ad9c37da1 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagDefault.json +++ b/test/schemas/llm.application/chatgpt/TypeTagDefault.json @@ -113,7 +113,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -340,7 +341,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -788,7 +790,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -905,7 +908,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagFormat.json b/test/schemas/llm.application/chatgpt/TypeTagFormat.json index 1bed9d449e..016cfa9094 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagFormat.json +++ b/test/schemas/llm.application/chatgpt/TypeTagFormat.json @@ -128,7 +128,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -385,7 +386,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -893,7 +895,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -1025,7 +1028,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagLength.json b/test/schemas/llm.application/chatgpt/TypeTagLength.json index 88d090e91e..53c8a68fb5 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagLength.json +++ b/test/schemas/llm.application/chatgpt/TypeTagLength.json @@ -55,7 +55,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -166,7 +167,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -382,7 +384,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -441,7 +444,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagMatrix.json b/test/schemas/llm.application/chatgpt/TypeTagMatrix.json index ce5dea3aa8..c38f932142 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagMatrix.json +++ b/test/schemas/llm.application/chatgpt/TypeTagMatrix.json @@ -31,7 +31,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -94,7 +95,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -214,7 +216,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -249,7 +252,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagObjectUnion.json b/test/schemas/llm.application/chatgpt/TypeTagObjectUnion.json index bfe2688f27..0d016ed0ca 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagObjectUnion.json +++ b/test/schemas/llm.application/chatgpt/TypeTagObjectUnion.json @@ -43,7 +43,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -130,7 +131,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "array", @@ -298,7 +300,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -345,7 +348,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagPattern.json b/test/schemas/llm.application/chatgpt/TypeTagPattern.json index d299f3916f..51d33d3daf 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagPattern.json +++ b/test/schemas/llm.application/chatgpt/TypeTagPattern.json @@ -38,7 +38,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -115,7 +116,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -263,7 +265,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -305,7 +308,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagRange.json b/test/schemas/llm.application/chatgpt/TypeTagRange.json index 7dda0ad056..280677caf5 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagRange.json +++ b/test/schemas/llm.application/chatgpt/TypeTagRange.json @@ -75,7 +75,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -226,7 +227,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -522,7 +524,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -601,7 +604,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/chatgpt/TypeTagType.json b/test/schemas/llm.application/chatgpt/TypeTagType.json index 67f8913df9..a1ed272dc3 100644 --- a/test/schemas/llm.application/chatgpt/TypeTagType.json +++ b/test/schemas/llm.application/chatgpt/TypeTagType.json @@ -58,7 +58,8 @@ "required": [ "first" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "strict": true }, @@ -175,7 +176,8 @@ "first", "second" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "type": "object", @@ -403,7 +405,8 @@ "second", "third" ], - "additionalProperties": false + "additionalProperties": false, + "$defs": {} }, "output": { "anyOf": [ @@ -465,7 +468,8 @@ ], "options": { "separate": null, - "reference": false, - "constraint": false + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ArrayAny.json b/test/schemas/llm.application/gemini/ArrayAny.json index 86c8eda738..5380f4d539 100644 --- a/test/schemas/llm.application/gemini/ArrayAny.json +++ b/test/schemas/llm.application/gemini/ArrayAny.json @@ -463,6 +463,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ArrayHierarchical.json b/test/schemas/llm.application/gemini/ArrayHierarchical.json index 9e7052053d..2a6a42c908 100644 --- a/test/schemas/llm.application/gemini/ArrayHierarchical.json +++ b/test/schemas/llm.application/gemini/ArrayHierarchical.json @@ -1007,6 +1007,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ArrayHierarchicalPointer.json b/test/schemas/llm.application/gemini/ArrayHierarchicalPointer.json index a8a52800b9..a5b1595540 100644 --- a/test/schemas/llm.application/gemini/ArrayHierarchicalPointer.json +++ b/test/schemas/llm.application/gemini/ArrayHierarchicalPointer.json @@ -1071,6 +1071,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ArrayMatrix.json b/test/schemas/llm.application/gemini/ArrayMatrix.json index f29d2486ee..e001991e92 100644 --- a/test/schemas/llm.application/gemini/ArrayMatrix.json +++ b/test/schemas/llm.application/gemini/ArrayMatrix.json @@ -143,6 +143,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ArrayRecursive.json b/test/schemas/llm.application/gemini/ArrayRecursive.json index b3336139dd..db03a6b60c 100644 --- a/test/schemas/llm.application/gemini/ArrayRecursive.json +++ b/test/schemas/llm.application/gemini/ArrayRecursive.json @@ -1311,6 +1311,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ArraySimple.json b/test/schemas/llm.application/gemini/ArraySimple.json index c4d458dd1b..deedff2e80 100644 --- a/test/schemas/llm.application/gemini/ArraySimple.json +++ b/test/schemas/llm.application/gemini/ArraySimple.json @@ -375,6 +375,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ClassGetter.json b/test/schemas/llm.application/gemini/ClassGetter.json index b533f465c6..bea77fc409 100644 --- a/test/schemas/llm.application/gemini/ClassGetter.json +++ b/test/schemas/llm.application/gemini/ClassGetter.json @@ -207,6 +207,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ClassMethod.json b/test/schemas/llm.application/gemini/ClassMethod.json index 33bd17b4f5..eee501c114 100644 --- a/test/schemas/llm.application/gemini/ClassMethod.json +++ b/test/schemas/llm.application/gemini/ClassMethod.json @@ -167,6 +167,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ClassPropertyAssignment.json b/test/schemas/llm.application/gemini/ClassPropertyAssignment.json index 7129e8946d..cae54a75fc 100644 --- a/test/schemas/llm.application/gemini/ClassPropertyAssignment.json +++ b/test/schemas/llm.application/gemini/ClassPropertyAssignment.json @@ -311,6 +311,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/CommentTagArray.json b/test/schemas/llm.application/gemini/CommentTagArray.json index e3c9448e22..04d9fe1e29 100644 --- a/test/schemas/llm.application/gemini/CommentTagArray.json +++ b/test/schemas/llm.application/gemini/CommentTagArray.json @@ -511,6 +511,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/CommentTagFormat.json b/test/schemas/llm.application/gemini/CommentTagFormat.json index c38d4f75f1..f187592c54 100644 --- a/test/schemas/llm.application/gemini/CommentTagFormat.json +++ b/test/schemas/llm.application/gemini/CommentTagFormat.json @@ -983,6 +983,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/CommentTagLength.json b/test/schemas/llm.application/gemini/CommentTagLength.json index 013c8cd1bf..141f97c001 100644 --- a/test/schemas/llm.application/gemini/CommentTagLength.json +++ b/test/schemas/llm.application/gemini/CommentTagLength.json @@ -391,6 +391,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/CommentTagPattern.json b/test/schemas/llm.application/gemini/CommentTagPattern.json index 57fd3adb7b..0c38a48908 100644 --- a/test/schemas/llm.application/gemini/CommentTagPattern.json +++ b/test/schemas/llm.application/gemini/CommentTagPattern.json @@ -263,6 +263,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/CommentTagRange.json b/test/schemas/llm.application/gemini/CommentTagRange.json index 53bff289c0..09a5dbaa3d 100644 --- a/test/schemas/llm.application/gemini/CommentTagRange.json +++ b/test/schemas/llm.application/gemini/CommentTagRange.json @@ -551,6 +551,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/CommentTagType.json b/test/schemas/llm.application/gemini/CommentTagType.json index 40e6d4c676..725d181e03 100644 --- a/test/schemas/llm.application/gemini/CommentTagType.json +++ b/test/schemas/llm.application/gemini/CommentTagType.json @@ -431,6 +431,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ConstantAtomicAbsorbed.json b/test/schemas/llm.application/gemini/ConstantAtomicAbsorbed.json index 11824ee44a..dc4b418b21 100644 --- a/test/schemas/llm.application/gemini/ConstantAtomicAbsorbed.json +++ b/test/schemas/llm.application/gemini/ConstantAtomicAbsorbed.json @@ -183,6 +183,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/DynamicConstant.json b/test/schemas/llm.application/gemini/DynamicConstant.json index 4ffb655b82..320c610dd4 100644 --- a/test/schemas/llm.application/gemini/DynamicConstant.json +++ b/test/schemas/llm.application/gemini/DynamicConstant.json @@ -295,6 +295,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/DynamicEnumeration.json b/test/schemas/llm.application/gemini/DynamicEnumeration.json index 1ec5858dde..727aca6431 100644 --- a/test/schemas/llm.application/gemini/DynamicEnumeration.json +++ b/test/schemas/llm.application/gemini/DynamicEnumeration.json @@ -399,6 +399,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/DynamicNever.json b/test/schemas/llm.application/gemini/DynamicNever.json index 9ac6d6dc8d..003b3ccd96 100644 --- a/test/schemas/llm.application/gemini/DynamicNever.json +++ b/test/schemas/llm.application/gemini/DynamicNever.json @@ -87,6 +87,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/DynamicUndefined.json b/test/schemas/llm.application/gemini/DynamicUndefined.json index 9ac6d6dc8d..003b3ccd96 100644 --- a/test/schemas/llm.application/gemini/DynamicUndefined.json +++ b/test/schemas/llm.application/gemini/DynamicUndefined.json @@ -87,6 +87,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectDate.json b/test/schemas/llm.application/gemini/ObjectDate.json index 1ef0b7aa43..409631a3ce 100644 --- a/test/schemas/llm.application/gemini/ObjectDate.json +++ b/test/schemas/llm.application/gemini/ObjectDate.json @@ -335,6 +335,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectDescription.json b/test/schemas/llm.application/gemini/ObjectDescription.json index 832b5fee47..7f73f6fd08 100644 --- a/test/schemas/llm.application/gemini/ObjectDescription.json +++ b/test/schemas/llm.application/gemini/ObjectDescription.json @@ -330,6 +330,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectGenericAlias.json b/test/schemas/llm.application/gemini/ObjectGenericAlias.json index 99b7b7e148..e5d7e97341 100644 --- a/test/schemas/llm.application/gemini/ObjectGenericAlias.json +++ b/test/schemas/llm.application/gemini/ObjectGenericAlias.json @@ -135,6 +135,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectGenericArray.json b/test/schemas/llm.application/gemini/ObjectGenericArray.json index 0d922ca477..b246c1e5d0 100644 --- a/test/schemas/llm.application/gemini/ObjectGenericArray.json +++ b/test/schemas/llm.application/gemini/ObjectGenericArray.json @@ -447,6 +447,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectInternal.json b/test/schemas/llm.application/gemini/ObjectInternal.json index 40f50766d7..13b835f37f 100644 --- a/test/schemas/llm.application/gemini/ObjectInternal.json +++ b/test/schemas/llm.application/gemini/ObjectInternal.json @@ -167,6 +167,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectIntersection.json b/test/schemas/llm.application/gemini/ObjectIntersection.json index 3b45a9c349..fa0960675f 100644 --- a/test/schemas/llm.application/gemini/ObjectIntersection.json +++ b/test/schemas/llm.application/gemini/ObjectIntersection.json @@ -199,6 +199,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectJsonTag.json b/test/schemas/llm.application/gemini/ObjectJsonTag.json index a0184d39b3..0bc20166a2 100644 --- a/test/schemas/llm.application/gemini/ObjectJsonTag.json +++ b/test/schemas/llm.application/gemini/ObjectJsonTag.json @@ -263,6 +263,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectLiteralProperty.json b/test/schemas/llm.application/gemini/ObjectLiteralProperty.json index b6ad0504c3..3ad3df30a1 100644 --- a/test/schemas/llm.application/gemini/ObjectLiteralProperty.json +++ b/test/schemas/llm.application/gemini/ObjectLiteralProperty.json @@ -167,6 +167,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectLiteralType.json b/test/schemas/llm.application/gemini/ObjectLiteralType.json index f517af250d..5b9de4c736 100644 --- a/test/schemas/llm.application/gemini/ObjectLiteralType.json +++ b/test/schemas/llm.application/gemini/ObjectLiteralType.json @@ -199,6 +199,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectOptional.json b/test/schemas/llm.application/gemini/ObjectOptional.json index 84b840f6f0..46ed2c3158 100644 --- a/test/schemas/llm.application/gemini/ObjectOptional.json +++ b/test/schemas/llm.application/gemini/ObjectOptional.json @@ -191,6 +191,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectPartial.json b/test/schemas/llm.application/gemini/ObjectPartial.json index 63e7a701bc..c69e298a05 100644 --- a/test/schemas/llm.application/gemini/ObjectPartial.json +++ b/test/schemas/llm.application/gemini/ObjectPartial.json @@ -1138,6 +1138,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectPartialAndRequired.json b/test/schemas/llm.application/gemini/ObjectPartialAndRequired.json index 39223a48ea..e6c62c3073 100644 --- a/test/schemas/llm.application/gemini/ObjectPartialAndRequired.json +++ b/test/schemas/llm.application/gemini/ObjectPartialAndRequired.json @@ -863,6 +863,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectPrimitive.json b/test/schemas/llm.application/gemini/ObjectPrimitive.json index 872ab5acb4..f02d99be5a 100644 --- a/test/schemas/llm.application/gemini/ObjectPrimitive.json +++ b/test/schemas/llm.application/gemini/ObjectPrimitive.json @@ -583,6 +583,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectRecursive.json b/test/schemas/llm.application/gemini/ObjectRecursive.json index 101c577446..7d264bfcb2 100644 --- a/test/schemas/llm.application/gemini/ObjectRecursive.json +++ b/test/schemas/llm.application/gemini/ObjectRecursive.json @@ -1375,6 +1375,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectRequired.json b/test/schemas/llm.application/gemini/ObjectRequired.json index d09a46b70f..40e6de313f 100644 --- a/test/schemas/llm.application/gemini/ObjectRequired.json +++ b/test/schemas/llm.application/gemini/ObjectRequired.json @@ -994,6 +994,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ObjectSimple.json b/test/schemas/llm.application/gemini/ObjectSimple.json index 15afa318e9..9d7144fa9f 100644 --- a/test/schemas/llm.application/gemini/ObjectSimple.json +++ b/test/schemas/llm.application/gemini/ObjectSimple.json @@ -743,6 +743,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TemplateAtomic.json b/test/schemas/llm.application/gemini/TemplateAtomic.json index 3083f1405d..9e02b78f56 100644 --- a/test/schemas/llm.application/gemini/TemplateAtomic.json +++ b/test/schemas/llm.application/gemini/TemplateAtomic.json @@ -447,6 +447,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TemplateConstant.json b/test/schemas/llm.application/gemini/TemplateConstant.json index 8e403df387..581c748df0 100644 --- a/test/schemas/llm.application/gemini/TemplateConstant.json +++ b/test/schemas/llm.application/gemini/TemplateConstant.json @@ -455,6 +455,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ToJsonDouble.json b/test/schemas/llm.application/gemini/ToJsonDouble.json index 18fe16c928..1a04251e53 100644 --- a/test/schemas/llm.application/gemini/ToJsonDouble.json +++ b/test/schemas/llm.application/gemini/ToJsonDouble.json @@ -167,6 +167,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/ToJsonNull.json b/test/schemas/llm.application/gemini/ToJsonNull.json index 7bd439e7cf..3869bb5280 100644 --- a/test/schemas/llm.application/gemini/ToJsonNull.json +++ b/test/schemas/llm.application/gemini/ToJsonNull.json @@ -66,6 +66,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TypeTagArray.json b/test/schemas/llm.application/gemini/TypeTagArray.json index c02dfcdca6..0e6418ce04 100644 --- a/test/schemas/llm.application/gemini/TypeTagArray.json +++ b/test/schemas/llm.application/gemini/TypeTagArray.json @@ -543,6 +543,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TypeTagCustom.json b/test/schemas/llm.application/gemini/TypeTagCustom.json index ccb75d02c8..9a701df033 100644 --- a/test/schemas/llm.application/gemini/TypeTagCustom.json +++ b/test/schemas/llm.application/gemini/TypeTagCustom.json @@ -263,6 +263,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TypeTagFormat.json b/test/schemas/llm.application/gemini/TypeTagFormat.json index c38d4f75f1..f187592c54 100644 --- a/test/schemas/llm.application/gemini/TypeTagFormat.json +++ b/test/schemas/llm.application/gemini/TypeTagFormat.json @@ -983,6 +983,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TypeTagLength.json b/test/schemas/llm.application/gemini/TypeTagLength.json index 013c8cd1bf..141f97c001 100644 --- a/test/schemas/llm.application/gemini/TypeTagLength.json +++ b/test/schemas/llm.application/gemini/TypeTagLength.json @@ -391,6 +391,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TypeTagMatrix.json b/test/schemas/llm.application/gemini/TypeTagMatrix.json index 99994b8180..c5346d3739 100644 --- a/test/schemas/llm.application/gemini/TypeTagMatrix.json +++ b/test/schemas/llm.application/gemini/TypeTagMatrix.json @@ -207,6 +207,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TypeTagPattern.json b/test/schemas/llm.application/gemini/TypeTagPattern.json index 2dfaf7d1cc..9089ce4ac3 100644 --- a/test/schemas/llm.application/gemini/TypeTagPattern.json +++ b/test/schemas/llm.application/gemini/TypeTagPattern.json @@ -263,6 +263,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TypeTagRange.json b/test/schemas/llm.application/gemini/TypeTagRange.json index 53bff289c0..09a5dbaa3d 100644 --- a/test/schemas/llm.application/gemini/TypeTagRange.json +++ b/test/schemas/llm.application/gemini/TypeTagRange.json @@ -551,6 +551,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.application/gemini/TypeTagType.json b/test/schemas/llm.application/gemini/TypeTagType.json index 174829c53a..708b81729c 100644 --- a/test/schemas/llm.application/gemini/TypeTagType.json +++ b/test/schemas/llm.application/gemini/TypeTagType.json @@ -415,6 +415,8 @@ ], "options": { "separate": null, - "recursive": 3 + "constraint": false, + "recursive": 3, + "reference": false } } \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayAny.json b/test/schemas/llm.parameters/3.0/ArrayAny.json new file mode 100644 index 0000000000..1862ba1d3e --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayAny.json @@ -0,0 +1,281 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayHierarchical.json b/test/schemas/llm.parameters/3.0/ArrayHierarchical.json new file mode 100644 index 0000000000..19e6bbfdfe --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayHierarchical.json @@ -0,0 +1,646 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + }, + "nullable": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + }, + "faint": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayHierarchicalPointer.json b/test/schemas/llm.parameters/3.0/ArrayHierarchicalPointer.json new file mode 100644 index 0000000000..564b685a2e --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayHierarchicalPointer.json @@ -0,0 +1,691 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayMatrix.json b/test/schemas/llm.parameters/3.0/ArrayMatrix.json new file mode 100644 index 0000000000..ec00622d0a --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayMatrix.json @@ -0,0 +1,76 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "nullable": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "faint": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayRecursive.json b/test/schemas/llm.parameters/3.0/ArrayRecursive.json new file mode 100644 index 0000000000..9f862bcfb9 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayRecursive.json @@ -0,0 +1,846 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayRecursiveUnionExplicit.json b/test/schemas/llm.parameters/3.0/ArrayRecursiveUnionExplicit.json new file mode 100644 index 0000000000..3ddaf43452 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayRecursiveUnionExplicit.json @@ -0,0 +1,9046 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayRecursiveUnionExplicitPointer.json b/test/schemas/llm.parameters/3.0/ArrayRecursiveUnionExplicitPointer.json new file mode 100644 index 0000000000..161d539afe --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayRecursiveUnionExplicitPointer.json @@ -0,0 +1,9541 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayRecursiveUnionImplicit.json b/test/schemas/llm.parameters/3.0/ArrayRecursiveUnionImplicit.json new file mode 100644 index 0000000000..099579eabb --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayRecursiveUnionImplicit.json @@ -0,0 +1,15786 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": {}, + "maxItems": 0 + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayRepeatedNullable.json b/test/schemas/llm.parameters/3.0/ArrayRepeatedNullable.json new file mode 100644 index 0000000000..304306743d --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayRepeatedNullable.json @@ -0,0 +1,364 @@ +{ + "type": "object", + "properties": { + "regular": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": {}, + "maxItems": 0, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": {}, + "maxItems": 0, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "optional": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "faint": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "array": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": {}, + "maxItems": 0, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + }, + "nullable": true + } + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayRepeatedRequired.json b/test/schemas/llm.parameters/3.0/ArrayRepeatedRequired.json new file mode 100644 index 0000000000..aac4a2d069 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayRepeatedRequired.json @@ -0,0 +1,314 @@ +{ + "type": "object", + "properties": { + "regular": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": {}, + "maxItems": 0 + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + "nullable": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + "nullable": true + } + ] + }, + "optional": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + "faint": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + "nullable": true + } + ] + }, + "array": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "array", + "items": {}, + "maxItems": 0 + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayRepeatedUnion.json b/test/schemas/llm.parameters/3.0/ArrayRepeatedUnion.json new file mode 100644 index 0000000000..01ed961744 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayRepeatedUnion.json @@ -0,0 +1,2641 @@ +{ + "type": "object", + "properties": { + "regular": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": {}, + "maxItems": 0 + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "nullable": { + "oneOf": [ + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + }, + { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "nullable": true + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + }, + "nullable": true + } + ] + }, + "optional": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "faint": { + "oneOf": [ + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + }, + { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "nullable": true + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + }, + "nullable": true + } + ] + }, + "array": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": {}, + "maxItems": 0 + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArraySimple.json b/test/schemas/llm.parameters/3.0/ArraySimple.json new file mode 100644 index 0000000000..71b145b63c --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArraySimple.json @@ -0,0 +1,231 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + }, + "nullable": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + }, + "faint": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ArrayUnion.json b/test/schemas/llm.parameters/3.0/ArrayUnion.json new file mode 100644 index 0000000000..fffadc7b93 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ArrayUnion.json @@ -0,0 +1,141 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/AtomicUnion.json b/test/schemas/llm.parameters/3.0/AtomicUnion.json new file mode 100644 index 0000000000..452d11111d --- /dev/null +++ b/test/schemas/llm.parameters/3.0/AtomicUnion.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ClassGetter.json b/test/schemas/llm.parameters/3.0/ClassGetter.json new file mode 100644 index 0000000000..9df83c8207 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ClassGetter.json @@ -0,0 +1,121 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ClassMethod.json b/test/schemas/llm.parameters/3.0/ClassMethod.json new file mode 100644 index 0000000000..7a29e34978 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ClassMethod.json @@ -0,0 +1,96 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ClassPropertyAssignment.json b/test/schemas/llm.parameters/3.0/ClassPropertyAssignment.json new file mode 100644 index 0000000000..d0af3fc383 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ClassPropertyAssignment.json @@ -0,0 +1,186 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagArray.json b/test/schemas/llm.parameters/3.0/CommentTagArray.json new file mode 100644 index 0000000000..7ba7935e58 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagArray.json @@ -0,0 +1,331 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagArrayUnion.json b/test/schemas/llm.parameters/3.0/CommentTagArrayUnion.json new file mode 100644 index 0000000000..c99d9d2826 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagArrayUnion.json @@ -0,0 +1,276 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "nullable": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "faint": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagAtomicUnion.json b/test/schemas/llm.parameters/3.0/CommentTagAtomicUnion.json new file mode 100644 index 0000000000..2d6f7dff4a --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagAtomicUnion.json @@ -0,0 +1,186 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagDefault.json b/test/schemas/llm.parameters/3.0/CommentTagDefault.json new file mode 100644 index 0000000000..e27da9426b --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagDefault.json @@ -0,0 +1,571 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean", + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value." + }, + "number": { + "type": "number", + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value." + }, + "string": { + "type": "string", + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value." + }, + "text": { + "type": "string", + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters." + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "type": "number", + "minimum": 3, + "maximum": 5, + "title": "Default value on union typed property", + "description": "Default value on union typed property." + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean", + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value." + }, + "number": { + "type": "number", + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value." + }, + "string": { + "type": "string", + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value." + }, + "text": { + "type": "string", + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters." + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "type": "number", + "minimum": 3, + "maximum": 5, + "title": "Default value on union typed property", + "description": "Default value on union typed property." + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean", + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value." + }, + "number": { + "type": "number", + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value." + }, + "string": { + "type": "string", + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value." + }, + "text": { + "type": "string", + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters." + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "type": "number", + "minimum": 3, + "maximum": 5, + "title": "Default value on union typed property", + "description": "Default value on union typed property." + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean", + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value." + }, + "number": { + "type": "number", + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value." + }, + "string": { + "type": "string", + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value." + }, + "text": { + "type": "string", + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters." + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "type": "number", + "minimum": 3, + "maximum": 5, + "title": "Default value on union typed property", + "description": "Default value on union typed property." + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean", + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value." + }, + "number": { + "type": "number", + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value." + }, + "string": { + "type": "string", + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value." + }, + "text": { + "type": "string", + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters." + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "type": "number", + "minimum": 3, + "maximum": 5, + "title": "Default value on union typed property", + "description": "Default value on union typed property." + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagFormat.json b/test/schemas/llm.parameters/3.0/CommentTagFormat.json new file mode 100644 index 0000000000..c5326c33f8 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagFormat.json @@ -0,0 +1,606 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagLength.json b/test/schemas/llm.parameters/3.0/CommentTagLength.json new file mode 100644 index 0000000000..4b569bea24 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagLength.json @@ -0,0 +1,256 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagObjectUnion.json b/test/schemas/llm.parameters/3.0/CommentTagObjectUnion.json new file mode 100644 index 0000000000..d250bc5b19 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagObjectUnion.json @@ -0,0 +1,186 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagPattern.json b/test/schemas/llm.parameters/3.0/CommentTagPattern.json new file mode 100644 index 0000000000..0c533a8008 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagPattern.json @@ -0,0 +1,156 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagRange.json b/test/schemas/llm.parameters/3.0/CommentTagRange.json new file mode 100644 index 0000000000..568ae0c7bb --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagRange.json @@ -0,0 +1,396 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/CommentTagType.json b/test/schemas/llm.parameters/3.0/CommentTagType.json new file mode 100644 index 0000000000..fc89a32274 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/CommentTagType.json @@ -0,0 +1,276 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "title": "Integer value", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "title": "Unsigned integer value", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "title": "Integer value", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "title": "Unsigned integer value", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "title": "Integer value", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "title": "Unsigned integer value", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "title": "Integer value", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "title": "Unsigned integer value", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "title": "Integer value", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "title": "Unsigned integer value", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ConstantAtomicAbsorbed.json b/test/schemas/llm.parameters/3.0/ConstantAtomicAbsorbed.json new file mode 100644 index 0000000000..caea8f3d63 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ConstantAtomicAbsorbed.json @@ -0,0 +1,106 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ConstantAtomicTagged.json b/test/schemas/llm.parameters/3.0/ConstantAtomicTagged.json new file mode 100644 index 0000000000..467e8aeb4e --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ConstantAtomicTagged.json @@ -0,0 +1,171 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "enum": [ + "latest" + ] + }, + "age": { + "oneOf": [ + { + "type": "integer", + "maximum": 100 + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "enum": [ + "latest" + ] + }, + "age": { + "oneOf": [ + { + "type": "integer", + "maximum": 100 + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "enum": [ + "latest" + ] + }, + "age": { + "oneOf": [ + { + "type": "integer", + "maximum": 100 + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "enum": [ + "latest" + ] + }, + "age": { + "oneOf": [ + { + "type": "integer", + "maximum": 100 + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "enum": [ + "latest" + ] + }, + "age": { + "oneOf": [ + { + "type": "integer", + "maximum": 100 + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ConstantAtomicUnion.json b/test/schemas/llm.parameters/3.0/ConstantAtomicUnion.json new file mode 100644 index 0000000000..fdecab10f7 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ConstantAtomicUnion.json @@ -0,0 +1,226 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ConstantConstEnumeration.json b/test/schemas/llm.parameters/3.0/ConstantConstEnumeration.json new file mode 100644 index 0000000000..46b0babc98 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ConstantConstEnumeration.json @@ -0,0 +1,126 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ConstantEnumeration.json b/test/schemas/llm.parameters/3.0/ConstantEnumeration.json new file mode 100644 index 0000000000..46b0babc98 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ConstantEnumeration.json @@ -0,0 +1,126 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/DynamicConstant.json b/test/schemas/llm.parameters/3.0/DynamicConstant.json new file mode 100644 index 0000000000..ebc3cef1cf --- /dev/null +++ b/test/schemas/llm.parameters/3.0/DynamicConstant.json @@ -0,0 +1,181 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/DynamicEnumeration.json b/test/schemas/llm.parameters/3.0/DynamicEnumeration.json new file mode 100644 index 0000000000..ae6fa1f48f --- /dev/null +++ b/test/schemas/llm.parameters/3.0/DynamicEnumeration.json @@ -0,0 +1,246 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/DynamicNever.json b/test/schemas/llm.parameters/3.0/DynamicNever.json new file mode 100644 index 0000000000..1ee1d2bf96 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/DynamicNever.json @@ -0,0 +1,46 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/DynamicUndefined.json b/test/schemas/llm.parameters/3.0/DynamicUndefined.json new file mode 100644 index 0000000000..1ee1d2bf96 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/DynamicUndefined.json @@ -0,0 +1,46 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectAlias.json b/test/schemas/llm.parameters/3.0/ObjectAlias.json new file mode 100644 index 0000000000..5af1bf4e22 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectAlias.json @@ -0,0 +1,291 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "number", + "enum": [ + 1, + 2 + ], + "nullable": true + }, + { + "type": "string", + "enum": [ + "male", + "female" + ], + "nullable": true + } + ] + }, + "age": { + "type": "number", + "nullable": true + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + }, + "nullable": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "number", + "enum": [ + 1, + 2 + ], + "nullable": true + }, + { + "type": "string", + "enum": [ + "male", + "female" + ], + "nullable": true + } + ] + }, + "age": { + "type": "number", + "nullable": true + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "number", + "enum": [ + 1, + 2 + ], + "nullable": true + }, + { + "type": "string", + "enum": [ + "male", + "female" + ], + "nullable": true + } + ] + }, + "age": { + "type": "number", + "nullable": true + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + }, + "faint": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "number", + "enum": [ + 1, + 2 + ], + "nullable": true + }, + { + "type": "string", + "enum": [ + "male", + "female" + ], + "nullable": true + } + ] + }, + "age": { + "type": "number", + "nullable": true + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "number", + "enum": [ + 1, + 2 + ], + "nullable": true + }, + { + "type": "string", + "enum": [ + "male", + "female" + ], + "nullable": true + } + ] + }, + "age": { + "type": "number", + "nullable": true + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectDate.json b/test/schemas/llm.parameters/3.0/ObjectDate.json new file mode 100644 index 0000000000..8d0ccbd802 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectDate.json @@ -0,0 +1,201 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "date": { + "type": "string", + "format": "date", + "nullable": true + }, + "datetime": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "time": { + "type": "string", + "format": "time", + "nullable": true + }, + "duration": { + "type": "string", + "format": "duration", + "nullable": true + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "date": { + "type": "string", + "format": "date", + "nullable": true + }, + "datetime": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "time": { + "type": "string", + "format": "time", + "nullable": true + }, + "duration": { + "type": "string", + "format": "duration", + "nullable": true + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "date": { + "type": "string", + "format": "date", + "nullable": true + }, + "datetime": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "time": { + "type": "string", + "format": "time", + "nullable": true + }, + "duration": { + "type": "string", + "format": "duration", + "nullable": true + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "date": { + "type": "string", + "format": "date", + "nullable": true + }, + "datetime": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "time": { + "type": "string", + "format": "time", + "nullable": true + }, + "duration": { + "type": "string", + "format": "duration", + "nullable": true + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "date": { + "type": "string", + "format": "date", + "nullable": true + }, + "datetime": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "time": { + "type": "string", + "format": "time", + "nullable": true + }, + "duration": { + "type": "string", + "format": "duration", + "nullable": true + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectDescription.json b/test/schemas/llm.parameters/3.0/ObjectDescription.json new file mode 100644 index 0000000000..d95d75893c --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectDescription.json @@ -0,0 +1,227 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "title": "Primary Key", + "description": "Primary Key." + }, + "deprecated": { + "type": "boolean", + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "title": "This is the title", + "description": "Title tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "title": "Primary Key", + "description": "Primary Key." + }, + "deprecated": { + "type": "boolean", + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "title": "This is the title", + "description": "Title tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "title": "Primary Key", + "description": "Primary Key." + }, + "deprecated": { + "type": "boolean", + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "title": "This is the title", + "description": "Title tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "title": "Primary Key", + "description": "Primary Key." + }, + "deprecated": { + "type": "boolean", + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "title": "This is the title", + "description": "Title tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid", + "title": "Primary Key", + "description": "Primary Key." + }, + "deprecated": { + "type": "boolean", + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "title": "This is the title", + "description": "Title tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectGenericAlias.json b/test/schemas/llm.parameters/3.0/ObjectGenericAlias.json new file mode 100644 index 0000000000..ef03c27a81 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectGenericAlias.json @@ -0,0 +1,76 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectGenericArray.json b/test/schemas/llm.parameters/3.0/ObjectGenericArray.json new file mode 100644 index 0000000000..05c7744fce --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectGenericArray.json @@ -0,0 +1,281 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectGenericUnion.json b/test/schemas/llm.parameters/3.0/ObjectGenericUnion.json new file mode 100644 index 0000000000..227efafdbd --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectGenericUnion.json @@ -0,0 +1,1621 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectInternal.json b/test/schemas/llm.parameters/3.0/ObjectInternal.json new file mode 100644 index 0000000000..e784c01363 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectInternal.json @@ -0,0 +1,96 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectIntersection.json b/test/schemas/llm.parameters/3.0/ObjectIntersection.json new file mode 100644 index 0000000000..97cfcdab2b --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectIntersection.json @@ -0,0 +1,116 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectJsonTag.json b/test/schemas/llm.parameters/3.0/ObjectJsonTag.json new file mode 100644 index 0000000000..d8516f24a1 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectJsonTag.json @@ -0,0 +1,171 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "title": "Descripted property", + "description": "Descripted property." + }, + "title": { + "type": "string", + "title": "something", + "description": "Titled property." + }, + "complicate_title": { + "type": "string", + "title": "something weirdo with {@link something } tag", + "description": "Complicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "title": "Descripted property", + "description": "Descripted property." + }, + "title": { + "type": "string", + "title": "something", + "description": "Titled property." + }, + "complicate_title": { + "type": "string", + "title": "something weirdo with {@link something } tag", + "description": "Complicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "title": "Descripted property", + "description": "Descripted property." + }, + "title": { + "type": "string", + "title": "something", + "description": "Titled property." + }, + "complicate_title": { + "type": "string", + "title": "something weirdo with {@link something } tag", + "description": "Complicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "title": "Descripted property", + "description": "Descripted property." + }, + "title": { + "type": "string", + "title": "something", + "description": "Titled property." + }, + "complicate_title": { + "type": "string", + "title": "something weirdo with {@link something } tag", + "description": "Complicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "title": "Descripted property", + "description": "Descripted property." + }, + "title": { + "type": "string", + "title": "something", + "description": "Titled property." + }, + "complicate_title": { + "type": "string", + "title": "something weirdo with {@link something } tag", + "description": "Complicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectLiteralProperty.json b/test/schemas/llm.parameters/3.0/ObjectLiteralProperty.json new file mode 100644 index 0000000000..fcaaa99b59 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectLiteralProperty.json @@ -0,0 +1,96 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectLiteralType.json b/test/schemas/llm.parameters/3.0/ObjectLiteralType.json new file mode 100644 index 0000000000..1e89870d22 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectLiteralType.json @@ -0,0 +1,116 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectNullable.json b/test/schemas/llm.parameters/3.0/ObjectNullable.json new file mode 100644 index 0000000000..3ab74709cb --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectNullable.json @@ -0,0 +1,566 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + "similar": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + "similar": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + "similar": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + "similar": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + "similar": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false, + "nullable": true + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectOptional.json b/test/schemas/llm.parameters/3.0/ObjectOptional.json new file mode 100644 index 0000000000..171b9a7cae --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectOptional.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectPartial.json b/test/schemas/llm.parameters/3.0/ObjectPartial.json new file mode 100644 index 0000000000..61d74170d8 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectPartial.json @@ -0,0 +1,724 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectPartialAndRequired.json b/test/schemas/llm.parameters/3.0/ObjectPartialAndRequired.json new file mode 100644 index 0000000000..231365e945 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectPartialAndRequired.json @@ -0,0 +1,546 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectPrimitive.json b/test/schemas/llm.parameters/3.0/ObjectPrimitive.json new file mode 100644 index 0000000000..27886a66b3 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectPrimitive.json @@ -0,0 +1,361 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectRecursive.json b/test/schemas/llm.parameters/3.0/ObjectRecursive.json new file mode 100644 index 0000000000..8b9f2f4f6a --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectRecursive.json @@ -0,0 +1,886 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false, + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectRequired.json b/test/schemas/llm.parameters/3.0/ObjectRequired.json new file mode 100644 index 0000000000..96e7f32f9e --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectRequired.json @@ -0,0 +1,634 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [], + "additionalProperties": false, + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectSimple.json b/test/schemas/llm.parameters/3.0/ObjectSimple.json new file mode 100644 index 0000000000..337c664151 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectSimple.json @@ -0,0 +1,476 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectUndefined.json b/test/schemas/llm.parameters/3.0/ObjectUndefined.json new file mode 100644 index 0000000000..535ac43039 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectUndefined.json @@ -0,0 +1,246 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "unknown" + ], + "additionalProperties": false + } + }, + "nullable": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "unknown" + ], + "additionalProperties": false + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "unknown" + ], + "additionalProperties": false + } + }, + "faint": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "unknown" + ], + "additionalProperties": false + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "unknown" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectUnionComposite.json b/test/schemas/llm.parameters/3.0/ObjectUnionComposite.json new file mode 100644 index 0000000000..65a1276cb5 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectUnionComposite.json @@ -0,0 +1,1871 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectUnionCompositePointer.json b/test/schemas/llm.parameters/3.0/ObjectUnionCompositePointer.json new file mode 100644 index 0000000000..dc1d850338 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectUnionCompositePointer.json @@ -0,0 +1,1961 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectUnionDouble.json b/test/schemas/llm.parameters/3.0/ObjectUnionDouble.json new file mode 100644 index 0000000000..957a77fae6 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectUnionDouble.json @@ -0,0 +1,746 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectUnionExplicit.json b/test/schemas/llm.parameters/3.0/ObjectUnionExplicit.json new file mode 100644 index 0000000000..07aef44715 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectUnionExplicit.json @@ -0,0 +1,1891 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectUnionExplicitPointer.json b/test/schemas/llm.parameters/3.0/ObjectUnionExplicitPointer.json new file mode 100644 index 0000000000..d01dac47d4 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectUnionExplicitPointer.json @@ -0,0 +1,1981 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectUnionImplicit.json b/test/schemas/llm.parameters/3.0/ObjectUnionImplicit.json new file mode 100644 index 0000000000..0d16d0c9af --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectUnionImplicit.json @@ -0,0 +1,2176 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "distance": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "outer" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "distance": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "outer" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "radius" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "distance": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "outer" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "distance": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "outer" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "radius" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "distance": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "width": { + "type": "number", + "nullable": true + }, + "height": { + "type": "number", + "nullable": true + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "length": { + "type": "number", + "nullable": true + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "outer" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "type": "number", + "nullable": true + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "area": { + "type": "number", + "nullable": true + } + }, + "required": [ + "radius" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ObjectUnionNonPredictable.json b/test/schemas/llm.parameters/3.0/ObjectUnionNonPredictable.json new file mode 100644 index 0000000000..e9869a65f2 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ObjectUnionNonPredictable.json @@ -0,0 +1,501 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TemplateAtomic.json b/test/schemas/llm.parameters/3.0/TemplateAtomic.json new file mode 100644 index 0000000000..5c97ca2473 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TemplateAtomic.json @@ -0,0 +1,271 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "pattern": "((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "pattern": "((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "pattern": "((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "pattern": "((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "pattern": "((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "pattern": "((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "pattern": "((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "pattern": "((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "pattern": "((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "pattern": "^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "pattern": "((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TemplateConstant.json b/test/schemas/llm.parameters/3.0/TemplateConstant.json new file mode 100644 index 0000000000..c11fd2c23c --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TemplateConstant.json @@ -0,0 +1,281 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TemplateUnion.json b/test/schemas/llm.parameters/3.0/TemplateUnion.json new file mode 100644 index 0000000000..fd24a660ac --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TemplateUnion.json @@ -0,0 +1,366 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + }, + "postfix": { + "type": "string", + "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + }, + "middle": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + }, + "postfix": { + "type": "string", + "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + }, + "middle": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + }, + "postfix": { + "type": "string", + "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + }, + "middle": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + }, + "postfix": { + "type": "string", + "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + }, + "middle": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + }, + "postfix": { + "type": "string", + "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + }, + "middle": { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ToJsonAtomicUnion.json b/test/schemas/llm.parameters/3.0/ToJsonAtomicUnion.json new file mode 100644 index 0000000000..452d11111d --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ToJsonAtomicUnion.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "number", + "nullable": true + }, + { + "type": "boolean", + "nullable": true + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ToJsonDouble.json b/test/schemas/llm.parameters/3.0/ToJsonDouble.json new file mode 100644 index 0000000000..125a0b69a2 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ToJsonDouble.json @@ -0,0 +1,96 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ToJsonNull.json b/test/schemas/llm.parameters/3.0/ToJsonNull.json new file mode 100644 index 0000000000..027a813c94 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ToJsonNull.json @@ -0,0 +1,29 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "null" + }, + "nullable": { + "type": "null" + }, + "optional": { + "type": "null" + }, + "faint": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "null" + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/ToJsonUnion.json b/test/schemas/llm.parameters/3.0/ToJsonUnion.json new file mode 100644 index 0000000000..1a2cec8ccb --- /dev/null +++ b/test/schemas/llm.parameters/3.0/ToJsonUnion.json @@ -0,0 +1,396 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagArray.json b/test/schemas/llm.parameters/3.0/TypeTagArray.json new file mode 100644 index 0000000000..1541378468 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagArray.json @@ -0,0 +1,356 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "minimum": 10, + "maximum": 10 + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "minimum": 10, + "maximum": 10 + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "minimum": 10, + "maximum": 10 + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "minimum": 10, + "maximum": 10 + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "minimum": 10, + "maximum": 10 + }, + "minItems": 10, + "maxItems": 10 + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagArrayUnion.json b/test/schemas/llm.parameters/3.0/TypeTagArrayUnion.json new file mode 100644 index 0000000000..0808940c54 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagArrayUnion.json @@ -0,0 +1,301 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "maxLength": 7 + }, + { + "type": "number", + "maximum": 7 + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "nullable": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "maxLength": 7 + }, + { + "type": "number", + "maximum": 7 + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "maxLength": 7 + }, + { + "type": "number", + "maximum": 7 + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "faint": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "maxLength": 7 + }, + { + "type": "number", + "maximum": 7 + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 3 + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "minimum": 3 + }, + "minItems": 3 + }, + "maxItems": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "maxLength": 7 + }, + { + "type": "number", + "maximum": 7 + } + ] + }, + "maxItems": 7 + }, + "both": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 3, + "maxItems": 7 + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagAtomicUnion.json b/test/schemas/llm.parameters/3.0/TypeTagAtomicUnion.json new file mode 100644 index 0000000000..2d6f7dff4a --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagAtomicUnion.json @@ -0,0 +1,186 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + { + "type": "number", + "minimum": 3 + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagCustom.json b/test/schemas/llm.parameters/3.0/TypeTagCustom.json new file mode 100644 index 0000000000..add3808924 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagCustom.json @@ -0,0 +1,156 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagDefault.json b/test/schemas/llm.parameters/3.0/TypeTagDefault.json new file mode 100644 index 0000000000..37492e4b16 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagDefault.json @@ -0,0 +1,531 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "pattern": "^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagFormat.json b/test/schemas/llm.parameters/3.0/TypeTagFormat.json new file mode 100644 index 0000000000..c5326c33f8 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagFormat.json @@ -0,0 +1,606 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "format": "byte" + }, + "password": { + "type": "string", + "format": "password" + }, + "regex": { + "type": "string", + "format": "regex" + }, + "uuid": { + "type": "string", + "format": "uuid" + }, + "email": { + "type": "string", + "format": "email" + }, + "hostname": { + "type": "string", + "format": "hostname" + }, + "idnEmail": { + "type": "string", + "format": "idn-email" + }, + "idnHostname": { + "type": "string", + "format": "idn-hostname" + }, + "iri": { + "type": "string", + "format": "iri" + }, + "iriReference": { + "type": "string", + "format": "iri-reference" + }, + "ipv4": { + "type": "string", + "format": "ipv4" + }, + "ipv6": { + "type": "string", + "format": "ipv6" + }, + "uri": { + "type": "string", + "format": "uri" + }, + "uriReference": { + "type": "string", + "format": "uri-reference" + }, + "uriTemplate": { + "type": "string", + "format": "uri-template" + }, + "url": { + "type": "string", + "format": "url" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "date": { + "type": "string", + "format": "date" + }, + "time": { + "type": "string", + "format": "time" + }, + "duration": { + "type": "string", + "format": "duration" + }, + "jsonPointer": { + "type": "string", + "format": "json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "format": "relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagLength.json b/test/schemas/llm.parameters/3.0/TypeTagLength.json new file mode 100644 index 0000000000..4b569bea24 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagLength.json @@ -0,0 +1,256 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "minLength": 5, + "maxLength": 5 + }, + "minimum": { + "type": "string", + "minLength": 3 + }, + "maximum": { + "type": "string", + "maxLength": 7 + }, + "minimum_and_maximum": { + "type": "string", + "minLength": 3, + "maxLength": 7 + }, + "equal": { + "type": "string", + "minLength": 10, + "maxLength": 19 + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagMatrix.json b/test/schemas/llm.parameters/3.0/TypeTagMatrix.json new file mode 100644 index 0000000000..a1aae48a3b --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagMatrix.json @@ -0,0 +1,131 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 4, + "maxItems": 4 + }, + "minItems": 3, + "maxItems": 3 + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 4, + "maxItems": 4 + }, + "minItems": 3, + "maxItems": 3 + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 4, + "maxItems": 4 + }, + "minItems": 3, + "maxItems": 3 + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 4, + "maxItems": 4 + }, + "minItems": 3, + "maxItems": 3 + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "minItems": 4, + "maxItems": 4 + }, + "minItems": 3, + "maxItems": 3 + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagObjectUnion.json b/test/schemas/llm.parameters/3.0/TypeTagObjectUnion.json new file mode 100644 index 0000000000..d250bc5b19 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagObjectUnion.json @@ -0,0 +1,186 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "number", + "minimum": 3 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "string", + "minLength": 3, + "maxLength": 7 + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagPattern.json b/test/schemas/llm.parameters/3.0/TypeTagPattern.json new file mode 100644 index 0000000000..2707eca3b2 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagPattern.json @@ -0,0 +1,156 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagRange.json b/test/schemas/llm.parameters/3.0/TypeTagRange.json new file mode 100644 index 0000000000..568ae0c7bb --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagRange.json @@ -0,0 +1,396 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3 + }, + "greater_equal": { + "type": "integer", + "minimum": 3 + }, + "less": { + "type": "integer", + "exclusiveMaximum": true, + "maximum": 7 + }, + "less_equal": { + "type": "integer", + "maximum": 7 + }, + "greater_less": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_equal_less": { + "type": "integer", + "minimum": 3, + "exclusiveMaximum": true, + "maximum": 7 + }, + "greater_less_equal": { + "type": "integer", + "exclusiveMinimum": true, + "minimum": 3, + "maximum": 7 + }, + "greater_equal_less_equal": { + "type": "integer", + "minimum": 3, + "maximum": 7 + }, + "equal": { + "type": "integer", + "minimum": 10, + "maximum": 10 + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.0/TypeTagType.json b/test/schemas/llm.parameters/3.0/TypeTagType.json new file mode 100644 index 0000000000..d67e8fbb96 --- /dev/null +++ b/test/schemas/llm.parameters/3.0/TypeTagType.json @@ -0,0 +1,256 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayAny.json b/test/schemas/llm.parameters/3.1/ArrayAny.json new file mode 100644 index 0000000000..cb98687beb --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayAny.json @@ -0,0 +1,471 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayHierarchical.json b/test/schemas/llm.parameters/3.1/ArrayHierarchical.json new file mode 100644 index 0000000000..70d8c65049 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayHierarchical.json @@ -0,0 +1,661 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayHierarchicalPointer.json b/test/schemas/llm.parameters/3.1/ArrayHierarchicalPointer.json new file mode 100644 index 0000000000..4bc5aaef38 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayHierarchicalPointer.json @@ -0,0 +1,706 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayMatrix.json b/test/schemas/llm.parameters/3.1/ArrayMatrix.json new file mode 100644 index 0000000000..10c0b1a218 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayMatrix.json @@ -0,0 +1,91 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayRecursive.json b/test/schemas/llm.parameters/3.1/ArrayRecursive.json new file mode 100644 index 0000000000..f651af40bd --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayRecursive.json @@ -0,0 +1,91 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + ] + }, + "optional": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursive.ICategory": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayRecursiveUnionExplicit.json b/test/schemas/llm.parameters/3.1/ArrayRecursiveUnionExplicit.json new file mode 100644 index 0000000000..245e4cc776 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayRecursiveUnionExplicit.json @@ -0,0 +1,251 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicit.IBucket": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "jpg" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "txt" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "zip" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IShortcut" + } + ] + }, + "ArrayRecursiveUnionExplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + }, + "type": { + "const": "directory" + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "lnk" + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayRecursiveUnionExplicitPointer.json b/test/schemas/llm.parameters/3.1/ArrayRecursiveUnionExplicitPointer.json new file mode 100644 index 0000000000..a1676c6a7e --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayRecursiveUnionExplicitPointer.json @@ -0,0 +1,305 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicitPointer.IBucket": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "jpg" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "txt" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "zip" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IShortcut" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + }, + "type": { + "const": "directory" + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + }, + "type": { + "const": "file" + }, + "extension": { + "const": "lnk" + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayRecursiveUnionImplicit.json b/test/schemas/llm.parameters/3.1/ArrayRecursiveUnionImplicit.json new file mode 100644 index 0000000000..195fd44613 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayRecursiveUnionImplicit.json @@ -0,0 +1,256 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionImplicit.IBucket": { + "oneOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IDirectory" + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.ISharedDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IShortcut" + } + ] + }, + "ArrayRecursiveUnionImplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.ISharedDirectory": { + "type": "object", + "properties": { + "access": { + "oneOf": [ + { + "const": "read" + }, + { + "const": "write" + } + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayRepeatedNullable.json b/test/schemas/llm.parameters/3.1/ArrayRepeatedNullable.json new file mode 100644 index 0000000000..359a3b9f5d --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayRepeatedNullable.json @@ -0,0 +1,81 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ArrayRepeatedNullable" + }, + "nullable": { + "$ref": "#/$defs/ArrayRepeatedNullable" + }, + "optional": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedNullable" + } + ] + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedNullable" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedNullable" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedNullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedNullable" + } + ] + }, + "ArrayArrayRepeatedNullable": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedNullable" + } + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayRepeatedRequired.json b/test/schemas/llm.parameters/3.1/ArrayRepeatedRequired.json new file mode 100644 index 0000000000..ea8e0dbc73 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayRepeatedRequired.json @@ -0,0 +1,88 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ArrayRepeatedRequired" + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" + } + ] + }, + "optional": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" + } + ] + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedRequired" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedRequired": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" + } + ] + }, + "ArrayArrayRepeatedRequired": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedRequired" + } + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayRepeatedUnion.json b/test/schemas/llm.parameters/3.1/ArrayRepeatedUnion.json new file mode 100644 index 0000000000..290a82d044 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayRepeatedUnion.json @@ -0,0 +1,492 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ArrayRepeatedUnion" + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedUnion" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedUnion" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedUnion" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedUnion" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedUnion": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedUnion" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "ArrayArrayRepeatedUnion": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedUnion" + } + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArraySimple.json b/test/schemas/llm.parameters/3.1/ArraySimple.json new file mode 100644 index 0000000000..d9e4ee083a --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArraySimple.json @@ -0,0 +1,246 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ArrayUnion.json b/test/schemas/llm.parameters/3.1/ArrayUnion.json new file mode 100644 index 0000000000..7d9879b780 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ArrayUnion.json @@ -0,0 +1,156 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/AtomicUnion.json b/test/schemas/llm.parameters/3.1/AtomicUnion.json new file mode 100644 index 0000000000..8fa8f16801 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/AtomicUnion.json @@ -0,0 +1,126 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ClassGetter.json b/test/schemas/llm.parameters/3.1/ClassGetter.json new file mode 100644 index 0000000000..bd5ab38a69 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ClassGetter.json @@ -0,0 +1,166 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ClassMethod.json b/test/schemas/llm.parameters/3.1/ClassMethod.json new file mode 100644 index 0000000000..961b3d331f --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ClassMethod.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ClassPropertyAssignment.json b/test/schemas/llm.parameters/3.1/ClassPropertyAssignment.json new file mode 100644 index 0000000000..a94befeaeb --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ClassPropertyAssignment.json @@ -0,0 +1,171 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "const": "assignment" + }, + "editable": { + "const": false + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "const": "assignment" + }, + "editable": { + "const": false + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "const": "assignment" + }, + "editable": { + "const": false + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "const": "assignment" + }, + "editable": { + "const": false + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "const": "assignment" + }, + "editable": { + "const": false + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagArray.json b/test/schemas/llm.parameters/3.1/CommentTagArray.json new file mode 100644 index 0000000000..93004aed55 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagArray.json @@ -0,0 +1,331 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagArrayUnion.json b/test/schemas/llm.parameters/3.1/CommentTagArrayUnion.json new file mode 100644 index 0000000000..98c70c00ce --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagArrayUnion.json @@ -0,0 +1,281 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagAtomicUnion.json b/test/schemas/llm.parameters/3.1/CommentTagAtomicUnion.json new file mode 100644 index 0000000000..2f59808f74 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagAtomicUnion.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagDefault.json b/test/schemas/llm.parameters/3.1/CommentTagDefault.json new file mode 100644 index 0000000000..d4594bc34f --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagDefault.json @@ -0,0 +1,626 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagFormat.json b/test/schemas/llm.parameters/3.1/CommentTagFormat.json new file mode 100644 index 0000000000..864482dc75 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagFormat.json @@ -0,0 +1,621 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagLength.json b/test/schemas/llm.parameters/3.1/CommentTagLength.json new file mode 100644 index 0000000000..b1d707a918 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagLength.json @@ -0,0 +1,256 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagObjectUnion.json b/test/schemas/llm.parameters/3.1/CommentTagObjectUnion.json new file mode 100644 index 0000000000..e598ef08c6 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagObjectUnion.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagPattern.json b/test/schemas/llm.parameters/3.1/CommentTagPattern.json new file mode 100644 index 0000000000..2f232576e3 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagPattern.json @@ -0,0 +1,171 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagRange.json b/test/schemas/llm.parameters/3.1/CommentTagRange.json new file mode 100644 index 0000000000..04f50cb3b0 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagRange.json @@ -0,0 +1,356 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/CommentTagType.json b/test/schemas/llm.parameters/3.1/CommentTagType.json new file mode 100644 index 0000000000..8fc31860ec --- /dev/null +++ b/test/schemas/llm.parameters/3.1/CommentTagType.json @@ -0,0 +1,291 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ConstantAtomicAbsorbed.json b/test/schemas/llm.parameters/3.1/ConstantAtomicAbsorbed.json new file mode 100644 index 0000000000..c63f109fe2 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ConstantAtomicAbsorbed.json @@ -0,0 +1,121 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ConstantAtomicTagged.json b/test/schemas/llm.parameters/3.1/ConstantAtomicTagged.json new file mode 100644 index 0000000000..030080c69f --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ConstantAtomicTagged.json @@ -0,0 +1,191 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "const": "latest" + }, + { + "type": "string", + "description": "@format uuid" + } + ] + }, + "age": { + "oneOf": [ + { + "const": -1 + }, + { + "type": "integer", + "description": "@maximum 100" + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "const": "latest" + }, + { + "type": "string", + "description": "@format uuid" + } + ] + }, + "age": { + "oneOf": [ + { + "const": -1 + }, + { + "type": "integer", + "description": "@maximum 100" + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "const": "latest" + }, + { + "type": "string", + "description": "@format uuid" + } + ] + }, + "age": { + "oneOf": [ + { + "const": -1 + }, + { + "type": "integer", + "description": "@maximum 100" + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "const": "latest" + }, + { + "type": "string", + "description": "@format uuid" + } + ] + }, + "age": { + "oneOf": [ + { + "const": -1 + }, + { + "type": "integer", + "description": "@maximum 100" + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "const": "latest" + }, + { + "type": "string", + "description": "@format uuid" + } + ] + }, + "age": { + "oneOf": [ + { + "const": -1 + }, + { + "type": "integer", + "description": "@maximum 100" + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ConstantAtomicUnion.json b/test/schemas/llm.parameters/3.1/ConstantAtomicUnion.json new file mode 100644 index 0000000000..d91efa51a6 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ConstantAtomicUnion.json @@ -0,0 +1,201 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "const": false + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "three" + }, + { + "const": "four" + }, + { + "type": "object", + "properties": { + "key": { + "const": "key" + } + }, + "required": [ + "key" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "const": false + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "three" + }, + { + "const": "four" + }, + { + "type": "object", + "properties": { + "key": { + "const": "key" + } + }, + "required": [ + "key" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "const": false + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "three" + }, + { + "const": "four" + }, + { + "type": "object", + "properties": { + "key": { + "const": "key" + } + }, + "required": [ + "key" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "const": false + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "three" + }, + { + "const": "four" + }, + { + "type": "object", + "properties": { + "key": { + "const": "key" + } + }, + "required": [ + "key" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "const": false + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "three" + }, + { + "const": "four" + }, + { + "type": "object", + "properties": { + "key": { + "const": "key" + } + }, + "required": [ + "key" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ConstantConstEnumeration.json b/test/schemas/llm.parameters/3.1/ConstantConstEnumeration.json new file mode 100644 index 0000000000..2f54301e86 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ConstantConstEnumeration.json @@ -0,0 +1,141 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ConstantEnumeration.json b/test/schemas/llm.parameters/3.1/ConstantEnumeration.json new file mode 100644 index 0000000000..2f54301e86 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ConstantEnumeration.json @@ -0,0 +1,141 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "const": 0 + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "Three" + }, + { + "const": "Four" + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/DynamicConstant.json b/test/schemas/llm.parameters/3.1/DynamicConstant.json new file mode 100644 index 0000000000..2597857894 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/DynamicConstant.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/DynamicEnumeration.json b/test/schemas/llm.parameters/3.1/DynamicEnumeration.json new file mode 100644 index 0000000000..c80a18518b --- /dev/null +++ b/test/schemas/llm.parameters/3.1/DynamicEnumeration.json @@ -0,0 +1,316 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/DynamicNever.json b/test/schemas/llm.parameters/3.1/DynamicNever.json new file mode 100644 index 0000000000..d27a9e83fe --- /dev/null +++ b/test/schemas/llm.parameters/3.1/DynamicNever.json @@ -0,0 +1,61 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/DynamicUndefined.json b/test/schemas/llm.parameters/3.1/DynamicUndefined.json new file mode 100644 index 0000000000..d27a9e83fe --- /dev/null +++ b/test/schemas/llm.parameters/3.1/DynamicUndefined.json @@ -0,0 +1,61 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectAlias.json b/test/schemas/llm.parameters/3.1/ObjectAlias.json new file mode 100644 index 0000000000..464731576e --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectAlias.json @@ -0,0 +1,391 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "null" + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "male" + }, + { + "const": "female" + } + ] + }, + "age": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "null" + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "male" + }, + { + "const": "female" + } + ] + }, + "age": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "null" + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "male" + }, + { + "const": "female" + } + ] + }, + "age": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "null" + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "male" + }, + { + "const": "female" + } + ] + }, + "age": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "oneOf": [ + { + "type": "null" + }, + { + "const": 1 + }, + { + "const": 2 + }, + { + "const": "male" + }, + { + "const": "female" + } + ] + }, + "age": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectDate.json b/test/schemas/llm.parameters/3.1/ObjectDate.json new file mode 100644 index 0000000000..714a7fa35e --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectDate.json @@ -0,0 +1,371 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "classDate": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "classDate": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "classDate": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "classDate": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classDate": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectDescription.json b/test/schemas/llm.parameters/3.1/ObjectDescription.json new file mode 100644 index 0000000000..e9d40bff3e --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectDescription.json @@ -0,0 +1,246 @@ +{ + "type": "object", + "properties": { + "regular": { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "additionalProperties": false + } + ] + }, + "optional": { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectGenericAlias.json b/test/schemas/llm.parameters/3.1/ObjectGenericAlias.json new file mode 100644 index 0000000000..ef2cd758b1 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectGenericAlias.json @@ -0,0 +1,91 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectGenericArray.json b/test/schemas/llm.parameters/3.1/ObjectGenericArray.json new file mode 100644 index 0000000000..3e2bb572a9 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectGenericArray.json @@ -0,0 +1,296 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectGenericUnion.json b/test/schemas/llm.parameters/3.1/ObjectGenericUnion.json new file mode 100644 index 0000000000..882e4594a1 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectGenericUnion.json @@ -0,0 +1,1816 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectInternal.json b/test/schemas/llm.parameters/3.1/ObjectInternal.json new file mode 100644 index 0000000000..51100ffa6d --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectInternal.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectIntersection.json b/test/schemas/llm.parameters/3.1/ObjectIntersection.json new file mode 100644 index 0000000000..902d837cd2 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectIntersection.json @@ -0,0 +1,131 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectJsonTag.json b/test/schemas/llm.parameters/3.1/ObjectJsonTag.json new file mode 100644 index 0000000000..712fad81be --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectJsonTag.json @@ -0,0 +1,186 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectLiteralProperty.json b/test/schemas/llm.parameters/3.1/ObjectLiteralProperty.json new file mode 100644 index 0000000000..b6d864f6bd --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectLiteralProperty.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectLiteralType.json b/test/schemas/llm.parameters/3.1/ObjectLiteralType.json new file mode 100644 index 0000000000..a34438ec3f --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectLiteralType.json @@ -0,0 +1,131 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectNullable.json b/test/schemas/llm.parameters/3.1/ObjectNullable.json new file mode 100644 index 0000000000..00885fa707 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectNullable.json @@ -0,0 +1,556 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "const": "brand" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "const": "manufacturer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectOptional.json b/test/schemas/llm.parameters/3.1/ObjectOptional.json new file mode 100644 index 0000000000..276a58489a --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectOptional.json @@ -0,0 +1,151 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectPartial.json b/test/schemas/llm.parameters/3.1/ObjectPartial.json new file mode 100644 index 0000000000..d1cfbce18b --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectPartial.json @@ -0,0 +1,265 @@ +{ + "type": "object", + "properties": { + "regular": { + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "additionalProperties": false + } + ] + }, + "optional": { + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ObjectPartial.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectPartialAndRequired.json b/test/schemas/llm.parameters/3.1/ObjectPartialAndRequired.json new file mode 100644 index 0000000000..419cbfca5c --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectPartialAndRequired.json @@ -0,0 +1,85 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ObjectPartialAndRequired" + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + ] + }, + "optional": { + "$ref": "#/$defs/ObjectPartialAndRequired" + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ObjectPartialAndRequired": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "string", + "number", + "boolean", + "object", + "array" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectPrimitive.json b/test/schemas/llm.parameters/3.1/ObjectPrimitive.json new file mode 100644 index 0000000000..7aa4401144 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectPrimitive.json @@ -0,0 +1,401 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "const": "txt" + }, + { + "const": "md" + }, + { + "const": "html" + } + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "const": "txt" + }, + { + "const": "md" + }, + { + "const": "html" + } + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "const": "txt" + }, + { + "const": "md" + }, + { + "const": "html" + } + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "const": "txt" + }, + { + "const": "md" + }, + { + "const": "html" + } + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "oneOf": [ + { + "const": "txt" + }, + { + "const": "md" + }, + { + "const": "html" + } + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectRecursive.json b/test/schemas/llm.parameters/3.1/ObjectRecursive.json new file mode 100644 index 0000000000..8b22f1c5b1 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectRecursive.json @@ -0,0 +1,99 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + ] + }, + "optional": { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ObjectRecursive.IDepartment": { + "type": "object", + "properties": { + "parent": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + ] + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectRequired.json b/test/schemas/llm.parameters/3.1/ObjectRequired.json new file mode 100644 index 0000000000..13d1705e71 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectRequired.json @@ -0,0 +1,265 @@ +{ + "type": "object", + "properties": { + "regular": { + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "additionalProperties": false + } + ] + }, + "optional": { + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ObjectRequired.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectSimple.json b/test/schemas/llm.parameters/3.1/ObjectSimple.json new file mode 100644 index 0000000000..b8244eccc4 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectSimple.json @@ -0,0 +1,491 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectUndefined.json b/test/schemas/llm.parameters/3.1/ObjectUndefined.json new file mode 100644 index 0000000000..96ab00416a --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectUndefined.json @@ -0,0 +1,276 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectUnionComposite.json b/test/schemas/llm.parameters/3.1/ObjectUnionComposite.json new file mode 100644 index 0000000000..76821fbbac --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectUnionComposite.json @@ -0,0 +1,1886 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectUnionCompositePointer.json b/test/schemas/llm.parameters/3.1/ObjectUnionCompositePointer.json new file mode 100644 index 0000000000..3dba2d7033 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectUnionCompositePointer.json @@ -0,0 +1,1976 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectUnionDouble.json b/test/schemas/llm.parameters/3.1/ObjectUnionDouble.json new file mode 100644 index 0000000000..7c4b692b6b --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectUnionDouble.json @@ -0,0 +1,761 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectUnionExplicit.json b/test/schemas/llm.parameters/3.1/ObjectUnionExplicit.json new file mode 100644 index 0000000000..ef321d1dac --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectUnionExplicit.json @@ -0,0 +1,1801 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectUnionExplicitPointer.json b/test/schemas/llm.parameters/3.1/ObjectUnionExplicitPointer.json new file mode 100644 index 0000000000..ef3a6f3244 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectUnionExplicitPointer.json @@ -0,0 +1,1891 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "const": "point" + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "line" + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "triangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "const": "rectangle" + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polyline" + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "const": "polygon" + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "const": "circle" + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectUnionImplicit.json b/test/schemas/llm.parameters/3.1/ObjectUnionImplicit.json new file mode 100644 index 0000000000..334dc8f5c8 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectUnionImplicit.json @@ -0,0 +1,3146 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ObjectUnionNonPredictable.json b/test/schemas/llm.parameters/3.1/ObjectUnionNonPredictable.json new file mode 100644 index 0000000000..669158834e --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ObjectUnionNonPredictable.json @@ -0,0 +1,516 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TemplateAtomic.json b/test/schemas/llm.parameters/3.1/TemplateAtomic.json new file mode 100644 index 0000000000..7de8b4b567 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TemplateAtomic.json @@ -0,0 +1,301 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "oneOf": [ + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "oneOf": [ + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "oneOf": [ + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "oneOf": [ + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "oneOf": [ + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TemplateConstant.json b/test/schemas/llm.parameters/3.1/TemplateConstant.json new file mode 100644 index 0000000000..4d26276355 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TemplateConstant.json @@ -0,0 +1,431 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "oneOf": [ + { + "const": "prefix_A" + }, + { + "const": "prefix_B" + }, + { + "const": "prefix_C" + } + ] + }, + "postfix": { + "oneOf": [ + { + "const": "1_postfix" + }, + { + "const": "2_postfix" + }, + { + "const": "3_postfix" + } + ] + }, + "combined": { + "oneOf": [ + { + "const": "the_1_value_with_label_A" + }, + { + "const": "the_1_value_with_label_B" + }, + { + "const": "the_1_value_with_label_C" + }, + { + "const": "the_2_value_with_label_A" + }, + { + "const": "the_2_value_with_label_B" + }, + { + "const": "the_2_value_with_label_C" + }, + { + "const": "the_3_value_with_label_A" + }, + { + "const": "the_3_value_with_label_B" + }, + { + "const": "the_3_value_with_label_C" + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "oneOf": [ + { + "const": "prefix_A" + }, + { + "const": "prefix_B" + }, + { + "const": "prefix_C" + } + ] + }, + "postfix": { + "oneOf": [ + { + "const": "1_postfix" + }, + { + "const": "2_postfix" + }, + { + "const": "3_postfix" + } + ] + }, + "combined": { + "oneOf": [ + { + "const": "the_1_value_with_label_A" + }, + { + "const": "the_1_value_with_label_B" + }, + { + "const": "the_1_value_with_label_C" + }, + { + "const": "the_2_value_with_label_A" + }, + { + "const": "the_2_value_with_label_B" + }, + { + "const": "the_2_value_with_label_C" + }, + { + "const": "the_3_value_with_label_A" + }, + { + "const": "the_3_value_with_label_B" + }, + { + "const": "the_3_value_with_label_C" + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "oneOf": [ + { + "const": "prefix_A" + }, + { + "const": "prefix_B" + }, + { + "const": "prefix_C" + } + ] + }, + "postfix": { + "oneOf": [ + { + "const": "1_postfix" + }, + { + "const": "2_postfix" + }, + { + "const": "3_postfix" + } + ] + }, + "combined": { + "oneOf": [ + { + "const": "the_1_value_with_label_A" + }, + { + "const": "the_1_value_with_label_B" + }, + { + "const": "the_1_value_with_label_C" + }, + { + "const": "the_2_value_with_label_A" + }, + { + "const": "the_2_value_with_label_B" + }, + { + "const": "the_2_value_with_label_C" + }, + { + "const": "the_3_value_with_label_A" + }, + { + "const": "the_3_value_with_label_B" + }, + { + "const": "the_3_value_with_label_C" + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "oneOf": [ + { + "const": "prefix_A" + }, + { + "const": "prefix_B" + }, + { + "const": "prefix_C" + } + ] + }, + "postfix": { + "oneOf": [ + { + "const": "1_postfix" + }, + { + "const": "2_postfix" + }, + { + "const": "3_postfix" + } + ] + }, + "combined": { + "oneOf": [ + { + "const": "the_1_value_with_label_A" + }, + { + "const": "the_1_value_with_label_B" + }, + { + "const": "the_1_value_with_label_C" + }, + { + "const": "the_2_value_with_label_A" + }, + { + "const": "the_2_value_with_label_B" + }, + { + "const": "the_2_value_with_label_C" + }, + { + "const": "the_3_value_with_label_A" + }, + { + "const": "the_3_value_with_label_B" + }, + { + "const": "the_3_value_with_label_C" + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "oneOf": [ + { + "const": "prefix_A" + }, + { + "const": "prefix_B" + }, + { + "const": "prefix_C" + } + ] + }, + "postfix": { + "oneOf": [ + { + "const": "1_postfix" + }, + { + "const": "2_postfix" + }, + { + "const": "3_postfix" + } + ] + }, + "combined": { + "oneOf": [ + { + "const": "the_1_value_with_label_A" + }, + { + "const": "the_1_value_with_label_B" + }, + { + "const": "the_1_value_with_label_C" + }, + { + "const": "the_2_value_with_label_A" + }, + { + "const": "the_2_value_with_label_B" + }, + { + "const": "the_2_value_with_label_C" + }, + { + "const": "the_3_value_with_label_A" + }, + { + "const": "the_3_value_with_label_B" + }, + { + "const": "the_3_value_with_label_C" + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TemplateUnion.json b/test/schemas/llm.parameters/3.1/TemplateUnion.json new file mode 100644 index 0000000000..793aca09a2 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TemplateUnion.json @@ -0,0 +1,421 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_A_value" + }, + { + "const": "the_B_value" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_A_value" + }, + { + "const": "the_B_value" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_A_value" + }, + { + "const": "the_B_value" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_A_value" + }, + { + "const": "the_B_value" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_false_value" + }, + { + "const": "the_true_value" + } + ] + }, + "mixed": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + { + "const": "the_A_value" + }, + { + "const": "the_B_value" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ToJsonAtomicUnion.json b/test/schemas/llm.parameters/3.1/ToJsonAtomicUnion.json new file mode 100644 index 0000000000..8fa8f16801 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ToJsonAtomicUnion.json @@ -0,0 +1,126 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ToJsonDouble.json b/test/schemas/llm.parameters/3.1/ToJsonDouble.json new file mode 100644 index 0000000000..299cb823f1 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ToJsonDouble.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ToJsonNull.json b/test/schemas/llm.parameters/3.1/ToJsonNull.json new file mode 100644 index 0000000000..8bc2070cb5 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ToJsonNull.json @@ -0,0 +1,46 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "null" + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "null" + } + ] + }, + "optional": { + "type": "null" + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "null" + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "null" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/ToJsonUnion.json b/test/schemas/llm.parameters/3.1/ToJsonUnion.json new file mode 100644 index 0000000000..9eac67645b --- /dev/null +++ b/test/schemas/llm.parameters/3.1/ToJsonUnion.json @@ -0,0 +1,411 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagArray.json b/test/schemas/llm.parameters/3.1/TypeTagArray.json new file mode 100644 index 0000000000..0753cd568a --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagArray.json @@ -0,0 +1,351 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagArrayUnion.json b/test/schemas/llm.parameters/3.1/TypeTagArrayUnion.json new file mode 100644 index 0000000000..6935a29aac --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagArrayUnion.json @@ -0,0 +1,306 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagAtomicUnion.json b/test/schemas/llm.parameters/3.1/TypeTagAtomicUnion.json new file mode 100644 index 0000000000..2f59808f74 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagAtomicUnion.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "oneOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagCustom.json b/test/schemas/llm.parameters/3.1/TypeTagCustom.json new file mode 100644 index 0000000000..4b0bc11fd1 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagCustom.json @@ -0,0 +1,171 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagDefault.json b/test/schemas/llm.parameters/3.1/TypeTagDefault.json new file mode 100644 index 0000000000..07dce49d02 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagDefault.json @@ -0,0 +1,546 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "oneOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "oneOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagFormat.json b/test/schemas/llm.parameters/3.1/TypeTagFormat.json new file mode 100644 index 0000000000..864482dc75 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagFormat.json @@ -0,0 +1,621 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagLength.json b/test/schemas/llm.parameters/3.1/TypeTagLength.json new file mode 100644 index 0000000000..b1d707a918 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagLength.json @@ -0,0 +1,256 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagMatrix.json b/test/schemas/llm.parameters/3.1/TypeTagMatrix.json new file mode 100644 index 0000000000..5762ef82e8 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagMatrix.json @@ -0,0 +1,136 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagObjectUnion.json b/test/schemas/llm.parameters/3.1/TypeTagObjectUnion.json new file mode 100644 index 0000000000..e598ef08c6 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagObjectUnion.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagPattern.json b/test/schemas/llm.parameters/3.1/TypeTagPattern.json new file mode 100644 index 0000000000..a007a4509b --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagPattern.json @@ -0,0 +1,171 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagRange.json b/test/schemas/llm.parameters/3.1/TypeTagRange.json new file mode 100644 index 0000000000..04f50cb3b0 --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagRange.json @@ -0,0 +1,356 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/3.1/TypeTagType.json b/test/schemas/llm.parameters/3.1/TypeTagType.json new file mode 100644 index 0000000000..f93c404b9b --- /dev/null +++ b/test/schemas/llm.parameters/3.1/TypeTagType.json @@ -0,0 +1,271 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayAny.json b/test/schemas/llm.parameters/chatgpt/ArrayAny.json new file mode 100644 index 0000000000..b446e27158 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayAny.json @@ -0,0 +1,471 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "nullables2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both1": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both2": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "both3": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": {} + } + ] + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "undefindable1", + "undefindable2", + "nullables1", + "nullables2", + "both1", + "both2", + "both3", + "union" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayHierarchical.json b/test/schemas/llm.parameters/chatgpt/ArrayHierarchical.json new file mode 100644 index 0000000000..0c6cf95cf1 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayHierarchical.json @@ -0,0 +1,661 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayHierarchicalPointer.json b/test/schemas/llm.parameters/chatgpt/ArrayHierarchicalPointer.json new file mode 100644 index 0000000000..4362d24a0d --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayHierarchicalPointer.json @@ -0,0 +1,706 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayMatrix.json b/test/schemas/llm.parameters/chatgpt/ArrayMatrix.json new file mode 100644 index 0000000000..ed184915ca --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayMatrix.json @@ -0,0 +1,91 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayRecursive.json b/test/schemas/llm.parameters/chatgpt/ArrayRecursive.json new file mode 100644 index 0000000000..ad1b762d71 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayRecursive.json @@ -0,0 +1,91 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + ] + }, + "optional": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursive.ICategory": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursive.ICategory" + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayRecursiveUnionExplicit.json b/test/schemas/llm.parameters/chatgpt/ArrayRecursiveUnionExplicit.json new file mode 100644 index 0000000000..1670a0d02d --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayRecursiveUnionExplicit.json @@ -0,0 +1,278 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicit.IBucket": { + "anyOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IShortcut" + } + ] + }, + "ArrayRecursiveUnionExplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicit.IBucket" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayRecursiveUnionExplicitPointer.json b/test/schemas/llm.parameters/chatgpt/ArrayRecursiveUnionExplicitPointer.json new file mode 100644 index 0000000000..f35b3db467 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayRecursiveUnionExplicitPointer.json @@ -0,0 +1,332 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionExplicitPointer.IBucket": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "jpg" + ] + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "txt" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "zip" + ] + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count", + "type", + "extension" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IShortcut" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + } + }, + "type": { + "type": "string", + "enum": [ + "directory" + ] + } + }, + "required": [ + "id", + "name", + "path", + "children", + "type" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionExplicitPointer.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionExplicitPointer.IBucket" + }, + "type": { + "type": "string", + "enum": [ + "file" + ] + }, + "extension": { + "type": "string", + "enum": [ + "lnk" + ] + } + }, + "required": [ + "id", + "name", + "path", + "target", + "type", + "extension" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayRecursiveUnionImplicit.json b/test/schemas/llm.parameters/chatgpt/ArrayRecursiveUnionImplicit.json new file mode 100644 index 0000000000..aed549c895 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayRecursiveUnionImplicit.json @@ -0,0 +1,253 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRecursiveUnionImplicit.IBucket": { + "anyOf": [ + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IDirectory" + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.ISharedDirectory" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "url": { + "type": "string" + }, + "size": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "width", + "height", + "url", + "size" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "content" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "number" + }, + "count": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "path", + "size", + "count" + ], + "additionalProperties": false + }, + { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IShortcut" + } + ] + }, + "ArrayRecursiveUnionImplicit.IDirectory": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + }, + "required": [ + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.ISharedDirectory": { + "type": "object", + "properties": { + "access": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + } + }, + "required": [ + "access", + "id", + "name", + "path", + "children" + ], + "additionalProperties": false + }, + "ArrayRecursiveUnionImplicit.IShortcut": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "target": { + "$ref": "#/$defs/ArrayRecursiveUnionImplicit.IBucket" + } + }, + "required": [ + "id", + "name", + "path", + "target" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayRepeatedNullable.json b/test/schemas/llm.parameters/chatgpt/ArrayRepeatedNullable.json new file mode 100644 index 0000000000..0ffb2b5e7c --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayRepeatedNullable.json @@ -0,0 +1,81 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ArrayRepeatedNullable" + }, + "nullable": { + "$ref": "#/$defs/ArrayRepeatedNullable" + }, + "optional": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedNullable" + } + ] + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedNullable" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedNullable" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedNullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedNullable" + } + ] + }, + "ArrayArrayRepeatedNullable": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedNullable" + } + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayRepeatedRequired.json b/test/schemas/llm.parameters/chatgpt/ArrayRepeatedRequired.json new file mode 100644 index 0000000000..08fd8472dc --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayRepeatedRequired.json @@ -0,0 +1,88 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ArrayRepeatedRequired" + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" + } + ] + }, + "optional": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" + } + ] + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedRequired" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedRequired": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedRequired" + } + ] + }, + "ArrayArrayRepeatedRequired": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedRequired" + } + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayRepeatedUnion.json b/test/schemas/llm.parameters/chatgpt/ArrayRepeatedUnion.json new file mode 100644 index 0000000000..fe533f018a --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayRepeatedUnion.json @@ -0,0 +1,492 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ArrayRepeatedUnion" + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedUnion" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedUnion" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedUnion" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedUnion" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ArrayRepeatedUnion": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/$defs/ArrayArrayRepeatedUnion" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + ] + }, + "ArrayArrayRepeatedUnion": { + "type": "array", + "items": { + "$ref": "#/$defs/ArrayRepeatedUnion" + } + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArraySimple.json b/test/schemas/llm.parameters/chatgpt/ArraySimple.json new file mode 100644 index 0000000000..86fc3d86ce --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArraySimple.json @@ -0,0 +1,246 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ], + "additionalProperties": false + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ArrayUnion.json b/test/schemas/llm.parameters/chatgpt/ArrayUnion.json new file mode 100644 index 0000000000..9a06874fdf --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ArrayUnion.json @@ -0,0 +1,156 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/AtomicUnion.json b/test/schemas/llm.parameters/chatgpt/AtomicUnion.json new file mode 100644 index 0000000000..5ee40bca9a --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/AtomicUnion.json @@ -0,0 +1,126 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ClassGetter.json b/test/schemas/llm.parameters/chatgpt/ClassGetter.json new file mode 100644 index 0000000000..54dffc7105 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ClassGetter.json @@ -0,0 +1,166 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "name", + "dead" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ClassMethod.json b/test/schemas/llm.parameters/chatgpt/ClassMethod.json new file mode 100644 index 0000000000..fad5cb3bf7 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ClassMethod.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ClassPropertyAssignment.json b/test/schemas/llm.parameters/chatgpt/ClassPropertyAssignment.json new file mode 100644 index 0000000000..74e370290d --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ClassPropertyAssignment.json @@ -0,0 +1,201 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagArray.json b/test/schemas/llm.parameters/chatgpt/CommentTagArray.json new file mode 100644 index 0000000000..dfee0ed8f9 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagArray.json @@ -0,0 +1,331 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagArrayUnion.json b/test/schemas/llm.parameters/chatgpt/CommentTagArrayUnion.json new file mode 100644 index 0000000000..12f3d08580 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagArrayUnion.json @@ -0,0 +1,281 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagAtomicUnion.json b/test/schemas/llm.parameters/chatgpt/CommentTagAtomicUnion.json new file mode 100644 index 0000000000..b3e8817f9a --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagAtomicUnion.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagDefault.json b/test/schemas/llm.parameters/chatgpt/CommentTagDefault.json new file mode 100644 index 0000000000..42ee13bdae --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagDefault.json @@ -0,0 +1,626 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "title": "Default tag on `boolean` typed value", + "description": "Default tag on `boolean` typed value.", + "type": "boolean" + }, + "number": { + "title": "Default tag on `number` typed value", + "description": "Default tag on `number` typed value.", + "type": "number" + }, + "string": { + "title": "Default tag on `string` typed value", + "description": "Default tag on `string` typed value.", + "type": "string" + }, + "text": { + "title": "Default tag on `string` typed value with long characters", + "description": "Default tag on `string` typed value with long characters.", + "type": "string" + }, + "boolean_and_number_and_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "vulnerable_range": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" + }, + "boolean_and_number_and_template": { + "title": "Default value on union typed property", + "description": "Default value on union typed property.", + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "vulnerable_range", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagFormat.json b/test/schemas/llm.parameters/chatgpt/CommentTagFormat.json new file mode 100644 index 0000000000..ee9edaf36c --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagFormat.json @@ -0,0 +1,621 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagLength.json b/test/schemas/llm.parameters/chatgpt/CommentTagLength.json new file mode 100644 index 0000000000..626a90bb3f --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagLength.json @@ -0,0 +1,256 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagObjectUnion.json b/test/schemas/llm.parameters/chatgpt/CommentTagObjectUnion.json new file mode 100644 index 0000000000..c4591c54d8 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagObjectUnion.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagPattern.json b/test/schemas/llm.parameters/chatgpt/CommentTagPattern.json new file mode 100644 index 0000000000..74276951d2 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagPattern.json @@ -0,0 +1,171 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagRange.json b/test/schemas/llm.parameters/chatgpt/CommentTagRange.json new file mode 100644 index 0000000000..fbe469e33f --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagRange.json @@ -0,0 +1,356 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/CommentTagType.json b/test/schemas/llm.parameters/chatgpt/CommentTagType.json new file mode 100644 index 0000000000..35cfc474ce --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/CommentTagType.json @@ -0,0 +1,291 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "title": "Integer value", + "description": "Integer value.", + "type": "integer" + }, + "uint": { + "title": "Unsigned integer value", + "description": "Unsigned integer value.", + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ConstantAtomicAbsorbed.json b/test/schemas/llm.parameters/chatgpt/ConstantAtomicAbsorbed.json new file mode 100644 index 0000000000..466fe70567 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ConstantAtomicAbsorbed.json @@ -0,0 +1,121 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ConstantAtomicTagged.json b/test/schemas/llm.parameters/chatgpt/ConstantAtomicTagged.json new file mode 100644 index 0000000000..d15238cfc2 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ConstantAtomicTagged.json @@ -0,0 +1,186 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string", + "enum": [ + "latest" + ] + }, + "age": { + "anyOf": [ + { + "type": "integer", + "description": "@maximum 100" + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string", + "enum": [ + "latest" + ] + }, + "age": { + "anyOf": [ + { + "type": "integer", + "description": "@maximum 100" + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string", + "enum": [ + "latest" + ] + }, + "age": { + "anyOf": [ + { + "type": "integer", + "description": "@maximum 100" + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string", + "enum": [ + "latest" + ] + }, + "age": { + "anyOf": [ + { + "type": "integer", + "description": "@maximum 100" + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string", + "enum": [ + "latest" + ] + }, + "age": { + "anyOf": [ + { + "type": "integer", + "description": "@maximum 100" + }, + { + "type": "number", + "enum": [ + -1 + ] + } + ] + } + }, + "required": [ + "id", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ConstantAtomicUnion.json b/test/schemas/llm.parameters/chatgpt/ConstantAtomicUnion.json new file mode 100644 index 0000000000..3f8673e576 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ConstantAtomicUnion.json @@ -0,0 +1,241 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "key": { + "type": "string", + "enum": [ + "key" + ] + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + { + "type": "boolean", + "enum": [ + false + ] + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "three", + "four" + ] + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ConstantConstEnumeration.json b/test/schemas/llm.parameters/chatgpt/ConstantConstEnumeration.json new file mode 100644 index 0000000000..9980f27ebc --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ConstantConstEnumeration.json @@ -0,0 +1,141 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ConstantEnumeration.json b/test/schemas/llm.parameters/chatgpt/ConstantEnumeration.json new file mode 100644 index 0000000000..9980f27ebc --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ConstantEnumeration.json @@ -0,0 +1,141 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "Three", + "Four" + ] + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/DynamicConstant.json b/test/schemas/llm.parameters/chatgpt/DynamicConstant.json new file mode 100644 index 0000000000..d9efe5a623 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/DynamicConstant.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/DynamicEnumeration.json b/test/schemas/llm.parameters/chatgpt/DynamicEnumeration.json new file mode 100644 index 0000000000..8dca056602 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/DynamicEnumeration.json @@ -0,0 +1,316 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/DynamicNever.json b/test/schemas/llm.parameters/chatgpt/DynamicNever.json new file mode 100644 index 0000000000..2de055804c --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/DynamicNever.json @@ -0,0 +1,61 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/DynamicUndefined.json b/test/schemas/llm.parameters/chatgpt/DynamicUndefined.json new file mode 100644 index 0000000000..2de055804c --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/DynamicUndefined.json @@ -0,0 +1,61 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": {}, + "required": [], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectAlias.json b/test/schemas/llm.parameters/chatgpt/ObjectAlias.json new file mode 100644 index 0000000000..e45999dac7 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectAlias.json @@ -0,0 +1,401 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "male", + "female" + ] + } + ] + }, + "age": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "male", + "female" + ] + } + ] + }, + "age": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "male", + "female" + ] + } + ] + }, + "age": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "male", + "female" + ] + } + ] + }, + "age": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sex": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + { + "type": "string", + "enum": [ + "male", + "female" + ] + } + ] + }, + "age": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "dead": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "id", + "email", + "name", + "sex", + "age", + "dead" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectDate.json b/test/schemas/llm.parameters/chatgpt/ObjectDate.json new file mode 100644 index 0000000000..1932b48758 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectDate.json @@ -0,0 +1,371 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "classDate": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "classDate": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "classDate": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "classDate": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classDate": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "date": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date" + } + ] + }, + "datetime": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format date-time" + } + ] + }, + "time": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format time" + } + ] + }, + "duration": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string", + "description": "@format duration" + } + ] + } + }, + "required": [ + "classDate", + "date", + "datetime", + "time", + "duration" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectDescription.json b/test/schemas/llm.parameters/chatgpt/ObjectDescription.json new file mode 100644 index 0000000000..c848833416 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectDescription.json @@ -0,0 +1,246 @@ +{ + "type": "object", + "properties": { + "regular": { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "additionalProperties": false + } + ] + }, + "optional": { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", + "type": "object", + "properties": { + "id": { + "title": "Primary Key", + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" + }, + "deprecated": { + "title": "Deprecated property", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true + }, + "title": { + "title": "This is the title", + "description": "Title tag can replace the first line of the comment.", + "type": "string" + }, + "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", + "type": "array", + "items": { + "type": "string" + } + }, + "newLine": { + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectGenericAlias.json b/test/schemas/llm.parameters/chatgpt/ObjectGenericAlias.json new file mode 100644 index 0000000000..e68fad0459 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectGenericAlias.json @@ -0,0 +1,91 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectGenericArray.json b/test/schemas/llm.parameters/chatgpt/ObjectGenericArray.json new file mode 100644 index 0000000000..c936f40641 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectGenericArray.json @@ -0,0 +1,296 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ], + "additionalProperties": false + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "pagination", + "data" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectGenericUnion.json b/test/schemas/llm.parameters/chatgpt/ObjectGenericUnion.json new file mode 100644 index 0000000000..b3b20fe9f6 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectGenericUnion.json @@ -0,0 +1,1816 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "writer": { + "type": "string" + }, + "answer": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "id": { + "type": "string" + }, + "hit": { + "type": "number" + }, + "contents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "score": { + "type": "number" + }, + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "name", + "extension", + "url" + ], + "additionalProperties": false + } + } + }, + "required": [ + "score", + "id", + "created_at", + "title", + "body", + "files" + ], + "additionalProperties": false + } + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "writer", + "answer", + "id", + "hit", + "contents", + "created_at" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectInternal.json b/test/schemas/llm.parameters/chatgpt/ObjectInternal.json new file mode 100644 index 0000000000..d224b1c06c --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectInternal.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectIntersection.json b/test/schemas/llm.parameters/chatgpt/ObjectIntersection.json new file mode 100644 index 0000000000..e10fbacf2b --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectIntersection.json @@ -0,0 +1,131 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectJsonTag.json b/test/schemas/llm.parameters/chatgpt/ObjectJsonTag.json new file mode 100644 index 0000000000..534422a826 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectJsonTag.json @@ -0,0 +1,186 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "title": "Descripted property", + "description": "Descripted property.", + "type": "string" + }, + "title": { + "title": "something", + "description": "Titled property.", + "type": "string" + }, + "complicate_title": { + "title": "something weirdo with {@link something } tag", + "description": "Complicate title.", + "type": "string" + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectLiteralProperty.json b/test/schemas/llm.parameters/chatgpt/ObjectLiteralProperty.json new file mode 100644 index 0000000000..2794aad0b9 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectLiteralProperty.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectLiteralType.json b/test/schemas/llm.parameters/chatgpt/ObjectLiteralType.json new file mode 100644 index 0000000000..e7efdf7295 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectLiteralType.json @@ -0,0 +1,131 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectNullable.json b/test/schemas/llm.parameters/chatgpt/ObjectNullable.json new file mode 100644 index 0000000000..7d2deb4fff --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectNullable.json @@ -0,0 +1,616 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "manufacturer": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + "brand": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + }, + "similar": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "brand" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "manufacturer" + ] + }, + "name": { + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "name", + "manufacturer", + "brand", + "similar" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectOptional.json b/test/schemas/llm.parameters/chatgpt/ObjectOptional.json new file mode 100644 index 0000000000..8c45df35a4 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectOptional.json @@ -0,0 +1,151 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "email", + "sequence" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectPartial.json b/test/schemas/llm.parameters/chatgpt/ObjectPartial.json new file mode 100644 index 0000000000..dd8e654398 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectPartial.json @@ -0,0 +1,265 @@ +{ + "type": "object", + "properties": { + "regular": { + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "additionalProperties": false + } + ] + }, + "optional": { + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ObjectPartial.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartial.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectPartialAndRequired.json b/test/schemas/llm.parameters/chatgpt/ObjectPartialAndRequired.json new file mode 100644 index 0000000000..4fe2c2ae6e --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectPartialAndRequired.json @@ -0,0 +1,85 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ObjectPartialAndRequired" + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + ] + }, + "optional": { + "$ref": "#/$defs/ObjectPartialAndRequired" + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ObjectPartialAndRequired": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectPartialAndRequired" + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "string", + "number", + "boolean", + "object", + "array" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectPrimitive.json b/test/schemas/llm.parameters/chatgpt/ObjectPrimitive.json new file mode 100644 index 0000000000..dc8f32c3d7 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectPrimitive.json @@ -0,0 +1,376 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ], + "additionalProperties": false + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectRecursive.json b/test/schemas/llm.parameters/chatgpt/ObjectRecursive.json new file mode 100644 index 0000000000..953e3ebf36 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectRecursive.json @@ -0,0 +1,99 @@ +{ + "type": "object", + "properties": { + "regular": { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + ] + }, + "optional": { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + ] + }, + "array": { + "type": "array", + "items": { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ObjectRecursive.IDepartment": { + "type": "object", + "properties": { + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRecursive.IDepartment" + } + ] + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ], + "additionalProperties": false + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectRequired.json b/test/schemas/llm.parameters/chatgpt/ObjectRequired.json new file mode 100644 index 0000000000..abaebbeb4f --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectRequired.json @@ -0,0 +1,265 @@ +{ + "type": "object", + "properties": { + "regular": { + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "additionalProperties": false + } + ] + }, + "optional": { + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": { + "ObjectRequired.IBase": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/$defs/ObjectRequired.IBase" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectSimple.json b/test/schemas/llm.parameters/chatgpt/ObjectSimple.json new file mode 100644 index 0000000000..146e0ab8b8 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectSimple.json @@ -0,0 +1,491 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ], + "additionalProperties": false + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectUndefined.json b/test/schemas/llm.parameters/chatgpt/ObjectUndefined.json new file mode 100644 index 0000000000..7067385c46 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectUndefined.json @@ -0,0 +1,276 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "professor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "classroom": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "additionalProperties": false + }, + "grade": { + "type": "number" + }, + "unknown": {} + }, + "required": [ + "name", + "professor", + "classroom", + "grade", + "unknown" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectUnionComposite.json b/test/schemas/llm.parameters/chatgpt/ObjectUnionComposite.json new file mode 100644 index 0000000000..b2c4e61da9 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectUnionComposite.json @@ -0,0 +1,1886 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectUnionCompositePointer.json b/test/schemas/llm.parameters/chatgpt/ObjectUnionCompositePointer.json new file mode 100644 index 0000000000..edcbacf5b4 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectUnionCompositePointer.json @@ -0,0 +1,1976 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "inner": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + } + }, + "required": [ + "outer", + "inner" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + } + }, + "required": [ + "centroid", + "radius" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectUnionDouble.json b/test/schemas/llm.parameters/chatgpt/ObjectUnionDouble.json new file mode 100644 index 0000000000..47774ee955 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectUnionDouble.json @@ -0,0 +1,761 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "number" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "number" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "boolean" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "x": { + "type": "string" + } + }, + "required": [ + "x" + ], + "additionalProperties": false + }, + "child": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "y": { + "type": "string" + } + }, + "required": [ + "y" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value", + "child" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectUnionExplicit.json b/test/schemas/llm.parameters/chatgpt/ObjectUnionExplicit.json new file mode 100644 index 0000000000..0e6d53b133 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectUnionExplicit.json @@ -0,0 +1,1906 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectUnionExplicitPointer.json b/test/schemas/llm.parameters/chatgpt/ObjectUnionExplicitPointer.json new file mode 100644 index 0000000000..b6e269357f --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectUnionExplicitPointer.json @@ -0,0 +1,1996 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "point" + ] + } + }, + "required": [ + "x", + "y", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "line" + ] + } + }, + "required": [ + "p1", + "p2", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "triangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "type": { + "type": "string", + "enum": [ + "rectangle" + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polyline" + ] + } + }, + "required": [ + "points", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + } + } + }, + "required": [ + "points" + ], + "additionalProperties": false + } + }, + "type": { + "type": "string", + "enum": [ + "polygon" + ] + } + }, + "required": [ + "outer", + "inner", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + } + }, + "required": [ + "x", + "y" + ], + "additionalProperties": false + }, + "radius": { + "type": "number" + }, + "type": { + "type": "string", + "enum": [ + "circle" + ] + } + }, + "required": [ + "centroid", + "radius", + "type" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectUnionImplicit.json b/test/schemas/llm.parameters/chatgpt/ObjectUnionImplicit.json new file mode 100644 index 0000000000..f83136a559 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectUnionImplicit.json @@ -0,0 +1,3146 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "distance": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "radius", + "centroid", + "area" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ObjectUnionNonPredictable.json b/test/schemas/llm.parameters/chatgpt/ObjectUnionNonPredictable.json new file mode 100644 index 0000000000..2c34a73ece --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ObjectUnionNonPredictable.json @@ -0,0 +1,516 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "boolean" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TemplateAtomic.json b/test/schemas/llm.parameters/chatgpt/TemplateAtomic.json new file mode 100644 index 0000000000..ccb3789c84 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TemplateAtomic.json @@ -0,0 +1,286 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^(prefix_(.*))", + "type": "string" + }, + "postfix": { + "description": "@pattern ((.*)_postfix)$", + "type": "string" + }, + "middle_string": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_string_empty": { + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" + }, + "middle_numeric": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" + }, + "email": { + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TemplateConstant.json b/test/schemas/llm.parameters/chatgpt/TemplateConstant.json new file mode 100644 index 0000000000..3fbae22bca --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TemplateConstant.json @@ -0,0 +1,296 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TemplateUnion.json b/test/schemas/llm.parameters/chatgpt/TemplateUnion.json new file mode 100644 index 0000000000..ff600641a7 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TemplateUnion.json @@ -0,0 +1,381 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" + }, + "postfix": { + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" + }, + "middle": { + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "mixed": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "enum": [ + "the_A_value", + "the_B_value" + ] + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "prefix", + "postfix", + "middle", + "mixed" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ToJsonAtomicUnion.json b/test/schemas/llm.parameters/chatgpt/ToJsonAtomicUnion.json new file mode 100644 index 0000000000..5ee40bca9a --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ToJsonAtomicUnion.json @@ -0,0 +1,126 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ToJsonDouble.json b/test/schemas/llm.parameters/chatgpt/ToJsonDouble.json new file mode 100644 index 0000000000..a4c650537e --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ToJsonDouble.json @@ -0,0 +1,111 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ToJsonNull.json b/test/schemas/llm.parameters/chatgpt/ToJsonNull.json new file mode 100644 index 0000000000..ba392b33a5 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ToJsonNull.json @@ -0,0 +1,46 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "null" + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "null" + } + ] + }, + "optional": { + "type": "null" + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "null" + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "null" + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/ToJsonUnion.json b/test/schemas/llm.parameters/chatgpt/ToJsonUnion.json new file mode 100644 index 0000000000..1bbfc8567f --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/ToJsonUnion.json @@ -0,0 +1,411 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "manufacturer": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "manufacturer", + "brand", + "name" + ], + "additionalProperties": false + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "mobile": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "mobile", + "name" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagArray.json b/test/schemas/llm.parameters/chatgpt/TypeTagArray.json new file mode 100644 index 0000000000..5c240fd7ba --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagArray.json @@ -0,0 +1,351 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "equal": { + "description": "@minItems 10\n@maxItems 10", + "type": "array", + "items": { + "description": "@minimum 10\n@maximum 10", + "type": "number" + } + }, + "unique": { + "description": "@uniqueItems", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagArrayUnion.json b/test/schemas/llm.parameters/chatgpt/TypeTagArrayUnion.json new file mode 100644 index 0000000000..8533837a85 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagArrayUnion.json @@ -0,0 +1,306 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + }, + "minItems": { + "description": "@minItems 3", + "type": "array", + "items": { + "description": "@minimum 3", + "type": "number" + } + }, + "maxItems": { + "description": "@maxItems 7", + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "@maxLength 7" + }, + { + "type": "number", + "description": "@maximum 7" + } + ] + } + }, + "both": { + "description": "@minItems 3\n@maxItems 7", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + }, + "required": [ + "items", + "minItems", + "maxItems", + "both" + ], + "additionalProperties": false + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagAtomicUnion.json b/test/schemas/llm.parameters/chatgpt/TypeTagAtomicUnion.json new file mode 100644 index 0000000000..b3e8817f9a --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagAtomicUnion.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "anyOf": [ + { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + { + "type": "number", + "description": "@minimum 3" + } + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagCustom.json b/test/schemas/llm.parameters/chatgpt/TypeTagCustom.json new file mode 100644 index 0000000000..168b7bdebb --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagCustom.json @@ -0,0 +1,171 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "description": "@format uuid", + "type": "string" + }, + "dollar": { + "x-typia-monetary": "dollar", + "type": "string" + }, + "postfix": { + "x-typia-postfix": "abcd", + "type": "string" + }, + "powerOf": { + "x-typia-powerOf": 2, + "type": "number" + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagDefault.json b/test/schemas/llm.parameters/chatgpt/TypeTagDefault.json new file mode 100644 index 0000000000..d41e95c84f --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagDefault.json @@ -0,0 +1,546 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "anyOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "anyOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "anyOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "anyOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number", + "default": 1 + }, + "string": { + "type": "string", + "default": "two" + }, + "text": { + "type": "string", + "default": "Very long text, can you understand it?" + }, + "boolean_and_number_and_string": { + "anyOf": [ + { + "type": "number", + "default": 1 + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "union_but_boolean": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "union_but_number": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number", + "default": 1 + }, + { + "type": "boolean" + } + ] + }, + "union_but_string": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string", + "default": "two" + }, + { + "type": "boolean" + } + ] + }, + "boolean_and_number_and_template": { + "anyOf": [ + { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + { + "type": "number", + "default": 2 + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "boolean", + "number", + "string", + "text", + "boolean_and_number_and_string", + "union_but_boolean", + "union_but_number", + "union_but_string", + "boolean_and_number_and_template" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagFormat.json b/test/schemas/llm.parameters/chatgpt/TypeTagFormat.json new file mode 100644 index 0000000000..ee9edaf36c --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagFormat.json @@ -0,0 +1,621 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "byte": { + "description": "@format byte", + "type": "string" + }, + "password": { + "description": "@format password", + "type": "string" + }, + "regex": { + "description": "@format regex", + "type": "string" + }, + "uuid": { + "description": "@format uuid", + "type": "string" + }, + "email": { + "description": "@format email", + "type": "string" + }, + "hostname": { + "description": "@format hostname", + "type": "string" + }, + "idnEmail": { + "description": "@format idn-email", + "type": "string" + }, + "idnHostname": { + "description": "@format idn-hostname", + "type": "string" + }, + "iri": { + "description": "@format iri", + "type": "string" + }, + "iriReference": { + "description": "@format iri-reference", + "type": "string" + }, + "ipv4": { + "description": "@format ipv4", + "type": "string" + }, + "ipv6": { + "description": "@format ipv6", + "type": "string" + }, + "uri": { + "description": "@format uri", + "type": "string" + }, + "uriReference": { + "description": "@format uri-reference", + "type": "string" + }, + "uriTemplate": { + "description": "@format uri-template", + "type": "string" + }, + "url": { + "description": "@format url", + "type": "string" + }, + "datetime": { + "description": "@format date-time", + "type": "string" + }, + "date": { + "description": "@format date", + "type": "string" + }, + "time": { + "description": "@format time", + "type": "string" + }, + "duration": { + "description": "@format duration", + "type": "string" + }, + "jsonPointer": { + "description": "@format json-pointer", + "type": "string" + }, + "relativeJsonPointer": { + "description": "@format relative-json-pointer", + "type": "string" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagLength.json b/test/schemas/llm.parameters/chatgpt/TypeTagLength.json new file mode 100644 index 0000000000..626a90bb3f --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagLength.json @@ -0,0 +1,256 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "description": "@minLength 5\n@maxLength 5", + "type": "string" + }, + "minimum": { + "description": "@minLength 3", + "type": "string" + }, + "maximum": { + "description": "@maxLength 7", + "type": "string" + }, + "minimum_and_maximum": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + }, + "equal": { + "description": "@minLength 10\n@maxLength 19", + "type": "string" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagMatrix.json b/test/schemas/llm.parameters/chatgpt/TypeTagMatrix.json new file mode 100644 index 0000000000..babe1e6fb9 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagMatrix.json @@ -0,0 +1,136 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "matrix": { + "description": "@minItems 3\n@maxItems 3", + "type": "array", + "items": { + "description": "@minItems 4\n@maxItems 4", + "type": "array", + "items": { + "description": "@format uuid", + "type": "string" + } + } + } + }, + "required": [ + "matrix" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagObjectUnion.json b/test/schemas/llm.parameters/chatgpt/TypeTagObjectUnion.json new file mode 100644 index 0000000000..c4591c54d8 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagObjectUnion.json @@ -0,0 +1,196 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "optional": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "value": { + "description": "@minimum 3", + "type": "number" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "value": { + "description": "@minLength 3\n@maxLength 7", + "type": "string" + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagPattern.json b/test/schemas/llm.parameters/chatgpt/TypeTagPattern.json new file mode 100644 index 0000000000..9af74027b9 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagPattern.json @@ -0,0 +1,171 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" + }, + "email": { + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + }, + "ipv4": { + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" + }, + "ipv6": { + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagRange.json b/test/schemas/llm.parameters/chatgpt/TypeTagRange.json new file mode 100644 index 0000000000..fbe469e33f --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagRange.json @@ -0,0 +1,356 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal": { + "description": "@minimum 3", + "type": "integer" + }, + "less": { + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "less_equal": { + "description": "@maximum 7", + "type": "integer" + }, + "greater_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_equal_less": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" + }, + "greater_less_equal": { + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" + }, + "greater_equal_less_equal": { + "description": "@minimum 3\n@maximum 7", + "type": "integer" + }, + "equal": { + "description": "@minimum 10\n@maximum 10", + "type": "integer" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/chatgpt/TypeTagType.json b/test/schemas/llm.parameters/chatgpt/TypeTagType.json new file mode 100644 index 0000000000..be64744406 --- /dev/null +++ b/test/schemas/llm.parameters/chatgpt/TypeTagType.json @@ -0,0 +1,271 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "nullable": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + "faint": { + "anyOf": [ + { + "type": "null" + }, + { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + ] + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ], + "additionalProperties": false + } + } + }, + "required": [ + "value" + ], + "additionalProperties": false + } + } + }, + "required": [ + "regular", + "nullable", + "optional", + "faint", + "array" + ], + "additionalProperties": false, + "$defs": {} +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ArrayAny.json b/test/schemas/llm.parameters/gemini/ArrayAny.json new file mode 100644 index 0000000000..eb385ea776 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ArrayAny.json @@ -0,0 +1,275 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ] + }, + "nullable": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ] + }, + "faint": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "anys": { + "type": "array", + "items": {} + }, + "undefindable1": { + "type": "array", + "items": {} + }, + "undefindable2": { + "type": "array", + "items": {} + }, + "nullables1": { + "type": "array", + "items": {}, + "nullable": true + }, + "nullables2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both1": { + "type": "array", + "items": {}, + "nullable": true + }, + "both2": { + "type": "array", + "items": {}, + "nullable": true + }, + "both3": { + "type": "array", + "items": {}, + "nullable": true + }, + "union": { + "type": "array", + "items": {} + } + }, + "required": [ + "anys", + "nullables1", + "nullables2", + "union" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ArrayHierarchical.json b/test/schemas/llm.parameters/gemini/ArrayHierarchical.json new file mode 100644 index 0000000000..8cd34aef4e --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ArrayHierarchical.json @@ -0,0 +1,615 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + } + }, + "nullable": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + } + }, + "faint": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ArrayHierarchicalPointer.json b/test/schemas/llm.parameters/gemini/ArrayHierarchicalPointer.json new file mode 100644 index 0000000000..5b8b99dd9b --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ArrayHierarchicalPointer.json @@ -0,0 +1,655 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "serial": { + "type": "number" + }, + "name": { + "type": "string" + }, + "established_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "departments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sales": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + }, + "employees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + }, + "grade": { + "type": "number" + }, + "employeed_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "id", + "name", + "age", + "grade", + "employeed_at" + ] + } + } + }, + "required": [ + "id", + "code", + "sales", + "created_at", + "employees" + ] + } + } + }, + "required": [ + "id", + "serial", + "name", + "established_at", + "departments" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ArrayMatrix.json b/test/schemas/llm.parameters/gemini/ArrayMatrix.json new file mode 100644 index 0000000000..f23e0a75a1 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ArrayMatrix.json @@ -0,0 +1,75 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "nullable": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + }, + "faint": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number" + } + } + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ArrayRecursive.json b/test/schemas/llm.parameters/gemini/ArrayRecursive.json new file mode 100644 index 0000000000..dc352d92ff --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ArrayRecursive.json @@ -0,0 +1,805 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "description": "@maxItems 0" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + }, + "nullable": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "description": "@maxItems 0" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "description": "@maxItems 0" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + }, + "faint": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "description": "@maxItems 0" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": {}, + "description": "@maxItems 0" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "children", + "id", + "code", + "sequence", + "created_at" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ArraySimple.json b/test/schemas/llm.parameters/gemini/ArraySimple.json new file mode 100644 index 0000000000..b9ea742126 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ArraySimple.json @@ -0,0 +1,220 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ] + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ] + } + }, + "nullable": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ] + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ] + }, + "nullable": true + }, + "optional": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ] + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ] + } + }, + "faint": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ] + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ] + }, + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "hobbies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "body": { + "type": "string" + }, + "rank": { + "type": "number" + } + }, + "required": [ + "name", + "body", + "rank" + ] + } + } + }, + "required": [ + "name", + "email", + "hobbies" + ] + } + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ClassGetter.json b/test/schemas/llm.parameters/gemini/ClassGetter.json new file mode 100644 index 0000000000..1754d389af --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ClassGetter.json @@ -0,0 +1,115 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ] + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ] + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "dead": { + "type": "boolean", + "nullable": true + } + }, + "required": [ + "id", + "name", + "dead" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ClassMethod.json b/test/schemas/llm.parameters/gemini/ClassMethod.json new file mode 100644 index 0000000000..d538a672d1 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ClassMethod.json @@ -0,0 +1,90 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ] + }, + "nullable": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ] + }, + "faint": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ClassPropertyAssignment.json b/test/schemas/llm.parameters/gemini/ClassPropertyAssignment.json new file mode 100644 index 0000000000..f843df9131 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ClassPropertyAssignment.json @@ -0,0 +1,180 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ] + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ] + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "note": { + "type": "string", + "enum": [ + "assignment" + ] + }, + "editable": { + "type": "boolean", + "enum": [ + false + ] + }, + "incremental": { + "type": "boolean" + } + }, + "required": [ + "id", + "name", + "note", + "editable", + "incremental" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/CommentTagArray.json b/test/schemas/llm.parameters/gemini/CommentTagArray.json new file mode 100644 index 0000000000..2c184bd558 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/CommentTagArray.json @@ -0,0 +1,305 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/CommentTagFormat.json b/test/schemas/llm.parameters/gemini/CommentTagFormat.json new file mode 100644 index 0000000000..29d821f00e --- /dev/null +++ b/test/schemas/llm.parameters/gemini/CommentTagFormat.json @@ -0,0 +1,600 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ] + }, + "nullable": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ] + }, + "faint": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/CommentTagLength.json b/test/schemas/llm.parameters/gemini/CommentTagLength.json new file mode 100644 index 0000000000..0209a894f9 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/CommentTagLength.json @@ -0,0 +1,230 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/CommentTagPattern.json b/test/schemas/llm.parameters/gemini/CommentTagPattern.json new file mode 100644 index 0000000000..0c5a4cb314 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/CommentTagPattern.json @@ -0,0 +1,150 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ] + }, + "nullable": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ] + }, + "faint": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/CommentTagRange.json b/test/schemas/llm.parameters/gemini/CommentTagRange.json new file mode 100644 index 0000000000..4ccf22f995 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/CommentTagRange.json @@ -0,0 +1,330 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/CommentTagType.json b/test/schemas/llm.parameters/gemini/CommentTagType.json new file mode 100644 index 0000000000..c6bbdf5ecc --- /dev/null +++ b/test/schemas/llm.parameters/gemini/CommentTagType.json @@ -0,0 +1,255 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer", + "description": "Integer value." + }, + "uint": { + "type": "integer", + "description": "Unsigned integer value." + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ConstantAtomicAbsorbed.json b/test/schemas/llm.parameters/gemini/ConstantAtomicAbsorbed.json new file mode 100644 index 0000000000..8959c0ddf6 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ConstantAtomicAbsorbed.json @@ -0,0 +1,100 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ] + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ] + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "default": "something" + }, + "age": { + "type": "number", + "default": 20 + } + }, + "required": [ + "id", + "age" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/DynamicConstant.json b/test/schemas/llm.parameters/gemini/DynamicConstant.json new file mode 100644 index 0000000000..9a646a7730 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/DynamicConstant.json @@ -0,0 +1,170 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ] + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ] + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ] + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ] + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "number" + }, + "c": { + "type": "number" + }, + "d": { + "type": "number" + } + }, + "required": [ + "a", + "b", + "c", + "d" + ] + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/DynamicEnumeration.json b/test/schemas/llm.parameters/gemini/DynamicEnumeration.json new file mode 100644 index 0000000000..18c2d2d0f5 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/DynamicEnumeration.json @@ -0,0 +1,235 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [] + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [] + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [] + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [] + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "ar": { + "type": "string" + }, + "zh-Hans": { + "type": "string" + }, + "zh-Hant": { + "type": "string" + }, + "en": { + "type": "string" + }, + "fr": { + "type": "string" + }, + "de": { + "type": "string" + }, + "ja": { + "type": "string" + }, + "ko": { + "type": "string" + }, + "pt": { + "type": "string" + }, + "ru": { + "type": "string" + } + }, + "required": [] + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/DynamicNever.json b/test/schemas/llm.parameters/gemini/DynamicNever.json new file mode 100644 index 0000000000..12836c708a --- /dev/null +++ b/test/schemas/llm.parameters/gemini/DynamicNever.json @@ -0,0 +1,40 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": {}, + "required": [] + }, + "nullable": { + "type": "object", + "properties": {}, + "required": [], + "nullable": true + }, + "optional": { + "type": "object", + "properties": {}, + "required": [] + }, + "faint": { + "type": "object", + "properties": {}, + "required": [], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": {}, + "required": [] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/DynamicUndefined.json b/test/schemas/llm.parameters/gemini/DynamicUndefined.json new file mode 100644 index 0000000000..12836c708a --- /dev/null +++ b/test/schemas/llm.parameters/gemini/DynamicUndefined.json @@ -0,0 +1,40 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": {}, + "required": [] + }, + "nullable": { + "type": "object", + "properties": {}, + "required": [], + "nullable": true + }, + "optional": { + "type": "object", + "properties": {}, + "required": [] + }, + "faint": { + "type": "object", + "properties": {}, + "required": [], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": {}, + "required": [] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectDate.json b/test/schemas/llm.parameters/gemini/ObjectDate.json new file mode 100644 index 0000000000..4b5dc321af --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectDate.json @@ -0,0 +1,195 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "description": "@format date-time", + "nullable": true + }, + "date": { + "type": "string", + "nullable": true, + "description": "@format date" + }, + "datetime": { + "type": "string", + "nullable": true, + "description": "@format date-time" + }, + "time": { + "type": "string", + "nullable": true, + "description": "@format time" + }, + "duration": { + "type": "string", + "nullable": true, + "description": "@format duration" + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ] + }, + "nullable": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "description": "@format date-time", + "nullable": true + }, + "date": { + "type": "string", + "nullable": true, + "description": "@format date" + }, + "datetime": { + "type": "string", + "nullable": true, + "description": "@format date-time" + }, + "time": { + "type": "string", + "nullable": true, + "description": "@format time" + }, + "duration": { + "type": "string", + "nullable": true, + "description": "@format duration" + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "description": "@format date-time", + "nullable": true + }, + "date": { + "type": "string", + "nullable": true, + "description": "@format date" + }, + "datetime": { + "type": "string", + "nullable": true, + "description": "@format date-time" + }, + "time": { + "type": "string", + "nullable": true, + "description": "@format time" + }, + "duration": { + "type": "string", + "nullable": true, + "description": "@format duration" + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ] + }, + "faint": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "description": "@format date-time", + "nullable": true + }, + "date": { + "type": "string", + "nullable": true, + "description": "@format date" + }, + "datetime": { + "type": "string", + "nullable": true, + "description": "@format date-time" + }, + "time": { + "type": "string", + "nullable": true, + "description": "@format time" + }, + "duration": { + "type": "string", + "nullable": true, + "description": "@format duration" + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "classDate": { + "type": "string", + "description": "@format date-time", + "nullable": true + }, + "date": { + "type": "string", + "nullable": true, + "description": "@format date" + }, + "datetime": { + "type": "string", + "nullable": true, + "description": "@format date-time" + }, + "time": { + "type": "string", + "nullable": true, + "description": "@format time" + }, + "duration": { + "type": "string", + "nullable": true, + "description": "@format duration" + } + }, + "required": [ + "date", + "datetime", + "time", + "duration" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectDescription.json b/test/schemas/llm.parameters/gemini/ObjectDescription.json new file mode 100644 index 0000000000..a074220824 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectDescription.json @@ -0,0 +1,193 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Primary Key.\n\n\n@format uuid" + }, + "deprecated": { + "type": "boolean", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "description": "This is the title.\n\nTitle tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "description": "This is the title of object type.\n\nAn interface designed to test JSON schema's object description." + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Primary Key.\n\n\n@format uuid" + }, + "deprecated": { + "type": "boolean", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "description": "This is the title.\n\nTitle tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Primary Key.\n\n\n@format uuid" + }, + "deprecated": { + "type": "boolean", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "description": "This is the title.\n\nTitle tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "description": "This is the title of object type.\n\nAn interface designed to test JSON schema's object description." + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Primary Key.\n\n\n@format uuid" + }, + "deprecated": { + "type": "boolean", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "description": "This is the title.\n\nTitle tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Primary Key.\n\n\n@format uuid" + }, + "deprecated": { + "type": "boolean", + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + }, + "title": { + "type": "string", + "description": "This is the title.\n\nTitle tag can replace the first line of the comment." + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + }, + "newLine": { + "type": "number", + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + } + }, + "required": [ + "id", + "deprecated", + "title", + "descriptions", + "newLine" + ], + "description": "This is the title of object type.\n\nAn interface designed to test JSON schema's object description." + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectGenericAlias.json b/test/schemas/llm.parameters/gemini/ObjectGenericAlias.json new file mode 100644 index 0000000000..eebb2e6bc9 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectGenericAlias.json @@ -0,0 +1,70 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectGenericArray.json b/test/schemas/llm.parameters/gemini/ObjectGenericArray.json new file mode 100644 index 0000000000..6e43bf17ca --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectGenericArray.json @@ -0,0 +1,265 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ] + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ] + } + } + }, + "required": [ + "pagination", + "data" + ] + }, + "nullable": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ] + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ] + } + } + }, + "required": [ + "pagination", + "data" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ] + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ] + } + } + }, + "required": [ + "pagination", + "data" + ] + }, + "faint": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ] + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ] + } + } + }, + "required": [ + "pagination", + "data" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "total_count": { + "type": "number" + }, + "total_pages": { + "type": "number" + } + }, + "required": [ + "page", + "limit", + "total_count", + "total_pages" + ] + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "name", + "age" + ] + } + } + }, + "required": [ + "pagination", + "data" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectInternal.json b/test/schemas/llm.parameters/gemini/ObjectInternal.json new file mode 100644 index 0000000000..54fdd805e7 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectInternal.json @@ -0,0 +1,90 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectIntersection.json b/test/schemas/llm.parameters/gemini/ObjectIntersection.json new file mode 100644 index 0000000000..b6708b4bb8 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectIntersection.json @@ -0,0 +1,110 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ] + }, + "nullable": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ] + }, + "faint": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vulnerable": { + "type": "boolean" + } + }, + "required": [ + "email", + "name", + "vulnerable" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectJsonTag.json b/test/schemas/llm.parameters/gemini/ObjectJsonTag.json new file mode 100644 index 0000000000..168599f653 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectJsonTag.json @@ -0,0 +1,150 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "description": "Descripted property." + }, + "title": { + "type": "string", + "description": "something.\n\nTitled property." + }, + "complicate_title": { + "type": "string", + "description": "something weirdo with {@link something } tag.\n\nComplicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ] + }, + "nullable": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "description": "Descripted property." + }, + "title": { + "type": "string", + "description": "something.\n\nTitled property." + }, + "complicate_title": { + "type": "string", + "description": "something weirdo with {@link something } tag.\n\nComplicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "description": "Descripted property." + }, + "title": { + "type": "string", + "description": "something.\n\nTitled property." + }, + "complicate_title": { + "type": "string", + "description": "something weirdo with {@link something } tag.\n\nComplicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ] + }, + "faint": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "description": "Descripted property." + }, + "title": { + "type": "string", + "description": "something.\n\nTitled property." + }, + "complicate_title": { + "type": "string", + "description": "something weirdo with {@link something } tag.\n\nComplicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "vulnerable": { + "type": "string", + "deprecated": true + }, + "description": { + "type": "string", + "description": "Descripted property." + }, + "title": { + "type": "string", + "description": "something.\n\nTitled property." + }, + "complicate_title": { + "type": "string", + "description": "something weirdo with {@link something } tag.\n\nComplicate title." + } + }, + "required": [ + "vulnerable", + "description", + "title", + "complicate_title" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectLiteralProperty.json b/test/schemas/llm.parameters/gemini/ObjectLiteralProperty.json new file mode 100644 index 0000000000..a4795d7476 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectLiteralProperty.json @@ -0,0 +1,90 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ] + }, + "nullable": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ] + }, + "faint": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "something-interesting-do-you-want?": { + "type": "string" + }, + "or-something-crazy-do-you-want?": { + "type": "string" + } + }, + "required": [ + "something-interesting-do-you-want?", + "or-something-crazy-do-you-want?" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectLiteralType.json b/test/schemas/llm.parameters/gemini/ObjectLiteralType.json new file mode 100644 index 0000000000..2fd47798d6 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectLiteralType.json @@ -0,0 +1,110 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ] + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ] + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "age": { + "type": "number" + } + }, + "required": [ + "id", + "name", + "age" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectOptional.json b/test/schemas/llm.parameters/gemini/ObjectOptional.json new file mode 100644 index 0000000000..b7364db402 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectOptional.json @@ -0,0 +1,105 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [] + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [] + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "sequence": { + "type": "number" + } + }, + "required": [] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectPartial.json b/test/schemas/llm.parameters/gemini/ObjectPartial.json new file mode 100644 index 0000000000..9cd82e1dd5 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectPartial.json @@ -0,0 +1,698 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional" + }, + "nullable": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional" + }, + "faint": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + } + }, + "required": [], + "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional" + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectPartialAndRequired.json b/test/schemas/llm.parameters/gemini/ObjectPartialAndRequired.json new file mode 100644 index 0000000000..e3f416ae0d --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectPartialAndRequired.json @@ -0,0 +1,525 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ] + }, + "nullable": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ] + }, + "faint": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "object", + "properties": { + "string": { + "type": "string" + }, + "number": { + "type": "number" + }, + "boolean": { + "type": "boolean" + }, + "object": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "required": [ + "object", + "array" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectPrimitive.json b/test/schemas/llm.parameters/gemini/ObjectPrimitive.json new file mode 100644 index 0000000000..2553ea3a21 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectPrimitive.json @@ -0,0 +1,350 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ] + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ] + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ] + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ] + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ] + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ] + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "extension": { + "type": "string", + "enum": [ + "txt", + "md", + "html" + ] + }, + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "files": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "extension", + "url", + "created_at" + ] + } + }, + "secret": { + "type": "boolean" + }, + "created_at": { + "type": "string" + } + }, + "required": [ + "id", + "extension", + "title", + "body", + "files", + "secret", + "created_at" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectRecursive.json b/test/schemas/llm.parameters/gemini/ObjectRecursive.json new file mode 100644 index 0000000000..9f5ff97908 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectRecursive.json @@ -0,0 +1,845 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ] + }, + "nullable": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ] + }, + "faint": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "object", + "properties": { + "parent": { + "type": "null" + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ], + "nullable": true + }, + "id": { + "type": "number" + }, + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "sequence": { + "type": "number" + }, + "created_at": { + "type": "object", + "properties": { + "time": { + "type": "number" + }, + "zone": { + "type": "number" + } + }, + "required": [ + "time", + "zone" + ] + } + }, + "required": [ + "parent", + "id", + "code", + "name", + "sequence", + "created_at" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectRequired.json b/test/schemas/llm.parameters/gemini/ObjectRequired.json new file mode 100644 index 0000000000..8030fe80ee --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectRequired.json @@ -0,0 +1,608 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required" + }, + "nullable": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required" + }, + "faint": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "object", + "properties": { + "boolean": { + "type": "boolean" + }, + "number": { + "type": "number" + }, + "string": { + "type": "string" + }, + "array": { + "type": "array", + "items": { + "type": "number" + } + }, + "object": { + "type": "null" + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [], + "nullable": true + } + }, + "required": [ + "boolean", + "number", + "string", + "array", + "object" + ], + "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required" + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ObjectSimple.json b/test/schemas/llm.parameters/gemini/ObjectSimple.json new file mode 100644 index 0000000000..21859c9b77 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ObjectSimple.json @@ -0,0 +1,450 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ] + }, + "nullable": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ] + }, + "faint": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "scale": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "position": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "rotate": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + }, + "pivot": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "z": { + "type": "number" + } + }, + "required": [ + "x", + "y", + "z" + ] + } + }, + "required": [ + "scale", + "position", + "rotate", + "pivot" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TemplateAtomic.json b/test/schemas/llm.parameters/gemini/TemplateAtomic.json new file mode 100644 index 0000000000..bca1b38476 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TemplateAtomic.json @@ -0,0 +1,265 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "description": "@pattern ((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "description": "@pattern ((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ] + }, + "nullable": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "description": "@pattern ((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "description": "@pattern ((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "description": "@pattern ((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "description": "@pattern ((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ] + }, + "faint": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "description": "@pattern ((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "description": "@pattern ((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "description": "@pattern ^(prefix_(.*))" + }, + "postfix": { + "type": "string", + "description": "@pattern ((.*)_postfix)$" + }, + "middle_string": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_string_empty": { + "type": "string", + "description": "@pattern ^(the_(.*)_value)$" + }, + "middle_numeric": { + "type": "string", + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + }, + "middle_boolean": { + "type": "string", + "enum": [ + "the_false_value", + "the_true_value" + ] + }, + "ipv4": { + "type": "string", + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + }, + "email": { + "type": "string", + "description": "@pattern ((.*)@(.*)\\.(.*))" + } + }, + "required": [ + "prefix", + "postfix", + "middle_string", + "middle_string_empty", + "middle_numeric", + "middle_boolean", + "ipv4", + "email" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TemplateConstant.json b/test/schemas/llm.parameters/gemini/TemplateConstant.json new file mode 100644 index 0000000000..2bcfccde57 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TemplateConstant.json @@ -0,0 +1,270 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "enum": [ + "prefix_A", + "prefix_B", + "prefix_C" + ] + }, + "postfix": { + "type": "string", + "enum": [ + "1_postfix", + "2_postfix", + "3_postfix" + ] + }, + "combined": { + "type": "string", + "enum": [ + "the_1_value_with_label_A", + "the_1_value_with_label_B", + "the_1_value_with_label_C", + "the_2_value_with_label_A", + "the_2_value_with_label_B", + "the_2_value_with_label_C", + "the_3_value_with_label_A", + "the_3_value_with_label_B", + "the_3_value_with_label_C" + ] + } + }, + "required": [ + "prefix", + "postfix", + "combined" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ToJsonDouble.json b/test/schemas/llm.parameters/gemini/ToJsonDouble.json new file mode 100644 index 0000000000..8a2a316b92 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ToJsonDouble.json @@ -0,0 +1,90 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ] + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ] + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "flag": { + "type": "boolean" + } + }, + "required": [ + "id", + "flag" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/ToJsonNull.json b/test/schemas/llm.parameters/gemini/ToJsonNull.json new file mode 100644 index 0000000000..2ca0cd893e --- /dev/null +++ b/test/schemas/llm.parameters/gemini/ToJsonNull.json @@ -0,0 +1,28 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "null" + }, + "nullable": { + "type": "null" + }, + "optional": { + "type": "null" + }, + "faint": { + "type": "null" + }, + "array": { + "type": "array", + "items": { + "type": "null" + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TypeTagArray.json b/test/schemas/llm.parameters/gemini/TypeTagArray.json new file mode 100644 index 0000000000..875f46d469 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TypeTagArray.json @@ -0,0 +1,325 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 3" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 10\n@maximum 10" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 3" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 10\n@maximum 10" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 3" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 10\n@maximum 10" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 3" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 10\n@maximum 10" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 3" + }, + "minItems": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 3" + }, + "description": "@minItems 3" + }, + "both": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 3\n@maxItems 7" + }, + "equal": { + "type": "array", + "items": { + "type": "number", + "description": "@minimum 10\n@maximum 10" + }, + "description": "@minItems 10\n@maxItems 10" + }, + "unique": { + "type": "array", + "items": { + "type": "string" + }, + "description": "@uniqueItems" + } + }, + "required": [ + "items", + "minItems", + "both", + "equal", + "unique" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TypeTagCustom.json b/test/schemas/llm.parameters/gemini/TypeTagCustom.json new file mode 100644 index 0000000000..4e518e4afc --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TypeTagCustom.json @@ -0,0 +1,150 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "@format uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ] + }, + "nullable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "@format uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "@format uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ] + }, + "faint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "@format uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "@format uuid" + }, + "dollar": { + "type": "string", + "x-typia-monetary": "dollar" + }, + "postfix": { + "type": "string", + "x-typia-postfix": "abcd" + }, + "powerOf": { + "type": "number", + "x-typia-powerOf": 2 + } + }, + "required": [ + "id", + "dollar", + "postfix", + "powerOf" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TypeTagFormat.json b/test/schemas/llm.parameters/gemini/TypeTagFormat.json new file mode 100644 index 0000000000..29d821f00e --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TypeTagFormat.json @@ -0,0 +1,600 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ] + }, + "nullable": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ] + }, + "faint": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "byte": { + "type": "string", + "description": "@format byte" + }, + "password": { + "type": "string", + "description": "@format password" + }, + "regex": { + "type": "string", + "description": "@format regex" + }, + "uuid": { + "type": "string", + "description": "@format uuid" + }, + "email": { + "type": "string", + "description": "@format email" + }, + "hostname": { + "type": "string", + "description": "@format hostname" + }, + "idnEmail": { + "type": "string", + "description": "@format idn-email" + }, + "idnHostname": { + "type": "string", + "description": "@format idn-hostname" + }, + "iri": { + "type": "string", + "description": "@format iri" + }, + "iriReference": { + "type": "string", + "description": "@format iri-reference" + }, + "ipv4": { + "type": "string", + "description": "@format ipv4" + }, + "ipv6": { + "type": "string", + "description": "@format ipv6" + }, + "uri": { + "type": "string", + "description": "@format uri" + }, + "uriReference": { + "type": "string", + "description": "@format uri-reference" + }, + "uriTemplate": { + "type": "string", + "description": "@format uri-template" + }, + "url": { + "type": "string", + "description": "@format url" + }, + "datetime": { + "type": "string", + "description": "@format date-time" + }, + "date": { + "type": "string", + "description": "@format date" + }, + "time": { + "type": "string", + "description": "@format time" + }, + "duration": { + "type": "string", + "description": "@format duration" + }, + "jsonPointer": { + "type": "string", + "description": "@format json-pointer" + }, + "relativeJsonPointer": { + "type": "string", + "description": "@format relative-json-pointer" + } + }, + "required": [ + "byte", + "password", + "regex", + "uuid", + "email", + "hostname", + "idnEmail", + "idnHostname", + "iri", + "iriReference", + "ipv4", + "ipv6", + "uri", + "uriReference", + "uriTemplate", + "url", + "datetime", + "date", + "time", + "duration", + "jsonPointer", + "relativeJsonPointer" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TypeTagLength.json b/test/schemas/llm.parameters/gemini/TypeTagLength.json new file mode 100644 index 0000000000..0209a894f9 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TypeTagLength.json @@ -0,0 +1,230 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fixed": { + "type": "string", + "description": "@minLength 5\n@maxLength 5" + }, + "minimum": { + "type": "string", + "description": "@minLength 3" + }, + "maximum": { + "type": "string", + "description": "@maxLength 7" + }, + "minimum_and_maximum": { + "type": "string", + "description": "@minLength 3\n@maxLength 7" + }, + "equal": { + "type": "string", + "description": "@minLength 10\n@maxLength 19" + } + }, + "required": [ + "fixed", + "minimum", + "maximum", + "minimum_and_maximum", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TypeTagMatrix.json b/test/schemas/llm.parameters/gemini/TypeTagMatrix.json new file mode 100644 index 0000000000..5095cbf09b --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TypeTagMatrix.json @@ -0,0 +1,115 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 4\n@maxItems 4" + }, + "description": "@minItems 3\n@maxItems 3" + } + }, + "required": [ + "matrix" + ] + }, + "nullable": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 4\n@maxItems 4" + }, + "description": "@minItems 3\n@maxItems 3" + } + }, + "required": [ + "matrix" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 4\n@maxItems 4" + }, + "description": "@minItems 3\n@maxItems 3" + } + }, + "required": [ + "matrix" + ] + }, + "faint": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 4\n@maxItems 4" + }, + "description": "@minItems 3\n@maxItems 3" + } + }, + "required": [ + "matrix" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "matrix": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string", + "description": "@format uuid" + }, + "description": "@minItems 4\n@maxItems 4" + }, + "description": "@minItems 3\n@maxItems 3" + } + }, + "required": [ + "matrix" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TypeTagPattern.json b/test/schemas/llm.parameters/gemini/TypeTagPattern.json new file mode 100644 index 0000000000..6a245d9a99 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TypeTagPattern.json @@ -0,0 +1,150 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ] + }, + "nullable": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ] + }, + "faint": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "email": { + "type": "string", + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + }, + "ipv4": { + "type": "string", + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "ipv6": { + "type": "string", + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + } + }, + "required": [ + "uuid", + "email", + "ipv4", + "ipv6" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TypeTagRange.json b/test/schemas/llm.parameters/gemini/TypeTagRange.json new file mode 100644 index 0000000000..4ccf22f995 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TypeTagRange.json @@ -0,0 +1,330 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "greater": { + "type": "integer", + "description": "@minimum 3\n@exclusiveMinimum true" + }, + "greater_equal": { + "type": "integer", + "description": "@minimum 3" + }, + "less": { + "type": "integer", + "description": "@maximum 7\n@exclusiveMaximum true" + }, + "less_equal": { + "type": "integer", + "description": "@maximum 7" + }, + "greater_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true" + }, + "greater_equal_less": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true" + }, + "greater_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true" + }, + "greater_equal_less_equal": { + "type": "integer", + "description": "@minimum 3\n@maximum 7" + }, + "equal": { + "type": "integer", + "description": "@minimum 10\n@maximum 10" + } + }, + "required": [ + "greater", + "greater_equal", + "less", + "less_equal", + "greater_less", + "greater_equal_less", + "greater_less_equal", + "greater_equal_less_equal", + "equal" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.parameters/gemini/TypeTagType.json b/test/schemas/llm.parameters/gemini/TypeTagType.json new file mode 100644 index 0000000000..c9682c3374 --- /dev/null +++ b/test/schemas/llm.parameters/gemini/TypeTagType.json @@ -0,0 +1,245 @@ +{ + "type": "object", + "properties": { + "regular": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ] + }, + "nullable": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "optional": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ] + }, + "faint": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ], + "nullable": true + }, + "array": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "object", + "properties": { + "int": { + "type": "integer" + }, + "uint": { + "type": "integer" + }, + "int32": { + "type": "integer" + }, + "uint32": { + "type": "integer" + }, + "int64": { + "type": "integer" + }, + "uint64": { + "type": "integer" + }, + "float": { + "type": "number" + } + }, + "required": [ + "int", + "uint", + "int32", + "uint32", + "int64", + "uint64", + "float" + ] + } + } + }, + "required": [ + "value" + ] + } + } + }, + "required": [ + "regular", + "nullable", + "array" + ] +} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ArrayAtomicAlias.json b/test/schemas/llm.schema/3.0/ArrayAtomicAlias.json deleted file mode 100644 index 69987ae2ea..0000000000 --- a/test/schemas/llm.schema/3.0/ArrayAtomicAlias.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ArrayAtomicSimple.json b/test/schemas/llm.schema/3.0/ArrayAtomicSimple.json deleted file mode 100644 index 69987ae2ea..0000000000 --- a/test/schemas/llm.schema/3.0/ArrayAtomicSimple.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 3, - "maxItems": 3 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ArrayRepeatedUnionWithTuple.json b/test/schemas/llm.schema/3.0/ArrayRepeatedUnionWithTuple.json deleted file mode 100644 index f1f5a83f6b..0000000000 --- a/test/schemas/llm.schema/3.0/ArrayRepeatedUnionWithTuple.json +++ /dev/null @@ -1,1014 +0,0 @@ -{ - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/AtomicAlias.json b/test/schemas/llm.schema/3.0/AtomicAlias.json deleted file mode 100644 index a9dc150cdd..0000000000 --- a/test/schemas/llm.schema/3.0/AtomicAlias.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/AtomicClass.json b/test/schemas/llm.schema/3.0/AtomicClass.json deleted file mode 100644 index 3fdc058a5a..0000000000 --- a/test/schemas/llm.schema/3.0/AtomicClass.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "minItems": 9, - "maxItems": 9 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/AtomicIntersection.json b/test/schemas/llm.schema/3.0/AtomicIntersection.json deleted file mode 100644 index a9dc150cdd..0000000000 --- a/test/schemas/llm.schema/3.0/AtomicIntersection.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/AtomicSimple.json b/test/schemas/llm.schema/3.0/AtomicSimple.json deleted file mode 100644 index a9dc150cdd..0000000000 --- a/test/schemas/llm.schema/3.0/AtomicSimple.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ConstantAtomicSimple.json b/test/schemas/llm.schema/3.0/ConstantAtomicSimple.json deleted file mode 100644 index b29c2a06f5..0000000000 --- a/test/schemas/llm.schema/3.0/ConstantAtomicSimple.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "boolean", - "enum": [ - true - ] - }, - { - "type": "number", - "enum": [ - 2 - ] - }, - { - "type": "string", - "enum": [ - "three" - ] - } - ] - }, - "minItems": 4, - "maxItems": 4 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ConstantAtomicWrapper.json b/test/schemas/llm.schema/3.0/ConstantAtomicWrapper.json deleted file mode 100644 index 40280bd787..0000000000 --- a/test/schemas/llm.schema/3.0/ConstantAtomicWrapper.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ConstantIntersection.json b/test/schemas/llm.schema/3.0/ConstantIntersection.json deleted file mode 100644 index 9613f21097..0000000000 --- a/test/schemas/llm.schema/3.0/ConstantIntersection.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean", - "enum": [ - false - ] - }, - { - "type": "number", - "enum": [ - 1 - ] - }, - { - "type": "string", - "enum": [ - "two" - ] - } - ] - }, - "minItems": 3, - "maxItems": 3 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ObjectGeneric.json b/test/schemas/llm.schema/3.0/ObjectGeneric.json deleted file mode 100644 index cddbd97bbb..0000000000 --- a/test/schemas/llm.schema/3.0/ObjectGeneric.json +++ /dev/null @@ -1,156 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ] - }, - "minItems": 3, - "maxItems": 3 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ObjectHierarchical.json b/test/schemas/llm.schema/3.0/ObjectHierarchical.json deleted file mode 100644 index 9c9c70d17d..0000000000 --- a/test/schemas/llm.schema/3.0/ObjectHierarchical.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false, - "nullable": true - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false, - "nullable": true - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ] - }, - "minItems": 4, - "maxItems": 4 - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ObjectPropertyNullable.json b/test/schemas/llm.schema/3.0/ObjectPropertyNullable.json deleted file mode 100644 index ee3cf48c93..0000000000 --- a/test/schemas/llm.schema/3.0/ObjectPropertyNullable.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string", - "nullable": true - }, - "grade": { - "type": "number" - }, - "serial": { - "type": "number", - "nullable": true - }, - "activated": { - "type": "boolean", - "nullable": true - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false, - "nullable": true - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ObjectTuple.json b/test/schemas/llm.schema/3.0/ObjectTuple.json deleted file mode 100644 index 44476b6d4b..0000000000 --- a/test/schemas/llm.schema/3.0/ObjectTuple.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2, - "maxItems": 2 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ToJsonArray.json b/test/schemas/llm.schema/3.0/ToJsonArray.json deleted file mode 100644 index b658eaa689..0000000000 --- a/test/schemas/llm.schema/3.0/ToJsonArray.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ] - }, - "minItems": 4, - "maxItems": 4 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ToJsonAtomicSimple.json b/test/schemas/llm.schema/3.0/ToJsonAtomicSimple.json deleted file mode 100644 index a9dc150cdd..0000000000 --- a/test/schemas/llm.schema/3.0/ToJsonAtomicSimple.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 3, - "maxItems": 3 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/ToJsonTuple.json b/test/schemas/llm.schema/3.0/ToJsonTuple.json deleted file mode 100644 index c6b416cb68..0000000000 --- a/test/schemas/llm.schema/3.0/ToJsonTuple.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ] - }, - "minItems": 4, - "maxItems": 4 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/TupleHierarchical.json b/test/schemas/llm.schema/3.0/TupleHierarchical.json deleted file mode 100644 index e1ce8d968f..0000000000 --- a/test/schemas/llm.schema/3.0/TupleHierarchical.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 3, - "maxItems": 3 - } - } - ] - }, - "minItems": 2, - "maxItems": 2 - } - ] - }, - "minItems": 5, - "maxItems": 5 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/TupleRestArray.json b/test/schemas/llm.schema/3.0/TupleRestArray.json deleted file mode 100644 index 98b9dcf82e..0000000000 --- a/test/schemas/llm.schema/3.0/TupleRestArray.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "minItems": 2 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/TupleRestAtomic.json b/test/schemas/llm.schema/3.0/TupleRestAtomic.json deleted file mode 100644 index e0857629a7..0000000000 --- a/test/schemas/llm.schema/3.0/TupleRestAtomic.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minItems": 2 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/TupleRestObject.json b/test/schemas/llm.schema/3.0/TupleRestObject.json deleted file mode 100644 index 3614a60aa1..0000000000 --- a/test/schemas/llm.schema/3.0/TupleRestObject.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ] - }, - "minItems": 2 -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.0/TypeTagTuple.json b/test/schemas/llm.schema/3.0/TypeTagTuple.json deleted file mode 100644 index 180c4a6794..0000000000 --- a/test/schemas/llm.schema/3.0/TypeTagTuple.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "type": "object", - "properties": { - "tuple": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ] - }, - "minItems": 4, - "maxItems": 4 - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayAny.json b/test/schemas/llm.schema/3.1/ArrayAny.json index 6ecd6bed81..e7d0807ec0 100644 --- a/test/schemas/llm.schema/3.1/ArrayAny.json +++ b/test/schemas/llm.schema/3.1/ArrayAny.json @@ -14,105 +14,6 @@ "items": {} }, "nullables1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -124,105 +25,6 @@ ] }, "nullables2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -234,105 +36,6 @@ ] }, "both1": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -344,105 +47,6 @@ ] }, "both2": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -454,105 +58,6 @@ ] }, "both3": { - "components": { - "schemas": { - "ArrayAny": { - "type": "object", - "properties": { - "anys": { - "type": "array", - "items": {} - }, - "undefindable1": { - "type": "array", - "items": {} - }, - "undefindable2": { - "type": "array", - "items": {} - }, - "nullables1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "nullables2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both1": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both2": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "both3": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "union": { - "type": "array", - "items": {} - } - }, - "required": [ - "anys", - "nullables1", - "nullables2", - "union" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "array", - "items": {} - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -570,8 +75,13 @@ }, "required": [ "anys", + "undefindable1", + "undefindable2", "nullables1", "nullables2", + "both1", + "both2", + "both3", "union" ], "additionalProperties": false diff --git a/test/schemas/llm.schema/3.1/ArrayAtomicAlias.json b/test/schemas/llm.schema/3.1/ArrayAtomicAlias.json deleted file mode 100644 index c8e0c3a220..0000000000 --- a/test/schemas/llm.schema/3.1/ArrayAtomicAlias.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayAtomicSimple.json b/test/schemas/llm.schema/3.1/ArrayAtomicSimple.json deleted file mode 100644 index c8e0c3a220..0000000000 --- a/test/schemas/llm.schema/3.1/ArrayAtomicSimple.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayRecursive.json b/test/schemas/llm.schema/3.1/ArrayRecursive.json index 878fb3cb3e..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ArrayRecursive.json +++ b/test/schemas/llm.schema/3.1/ArrayRecursive.json @@ -1,166 +1 @@ -{ - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false - } - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "children", - "id", - "code", - "sequence", - "created_at" - ], - "additionalProperties": false -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayRecursiveUnionExplicit.json b/test/schemas/llm.schema/3.1/ArrayRecursiveUnionExplicit.json index 4f440825bd..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ArrayRecursiveUnionExplicit.json +++ b/test/schemas/llm.schema/3.1/ArrayRecursiveUnionExplicit.json @@ -1,3818 +1 @@ -{ - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "ArrayRecursiveUnionExplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionExplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayRecursiveUnionExplicitPointer.json b/test/schemas/llm.schema/3.1/ArrayRecursiveUnionExplicitPointer.json index 780cd4eef8..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ArrayRecursiveUnionExplicitPointer.json +++ b/test/schemas/llm.schema/3.1/ArrayRecursiveUnionExplicitPointer.json @@ -1,4077 +1 @@ -{ - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ArrayRecursiveUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IBucket": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - } - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ] - }, - "ArrayRecursiveUnionExplicitPointer.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IBucket" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionExplicitPointer.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - }, - "type": { - "const": "directory" - } - }, - "required": [ - "id", - "name", - "path", - "children", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "jpg" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "txt" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content", - "type", - "extension" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - }, - "type": { - "const": "file" - }, - "extension": { - "const": "zip" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - "type": { - "const": "file" - }, - "extension": { - "const": "lnk" - } - }, - "required": [ - "id", - "name", - "path", - "target", - "type", - "extension" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value" - ], - "additionalProperties": false -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayRecursiveUnionImplicit.json b/test/schemas/llm.schema/3.1/ArrayRecursiveUnionImplicit.json index 73f74bb4ee..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ArrayRecursiveUnionImplicit.json +++ b/test/schemas/llm.schema/3.1/ArrayRecursiveUnionImplicit.json @@ -1,12214 +1 @@ -{ - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "access": { - "components": { - "schemas": { - "ArrayRecursiveUnionImplicit": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "ArrayRecursiveUnionImplicit.IBucket": { - "oneOf": [ - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ISharedDirectory" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IImageFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.ITextFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IZipFile" - }, - { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IShortcut" - } - ] - }, - "ArrayRecursiveUnionImplicit.IDirectory": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.ISharedDirectory": { - "type": "object", - "properties": { - "access": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ] - }, - "ArrayRecursiveUnionImplicit.IImageFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ] - }, - "ArrayRecursiveUnionImplicit.ITextFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ] - }, - "ArrayRecursiveUnionImplicit.IZipFile": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ] - }, - "ArrayRecursiveUnionImplicit.IShortcut": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "target": { - "$ref": "#/components/schemas/ArrayRecursiveUnionImplicit.IBucket" - } - }, - "required": [ - "id", - "name", - "path", - "target" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "const": "read" - }, - { - "const": "write" - } - ] - }, - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "children": { - "type": "array", - "items": {}, - "maxItems": 0 - } - }, - "required": [ - "access", - "id", - "name", - "path", - "children" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "url": { - "type": "string" - }, - "size": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "width", - "height", - "url", - "size" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "content" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "size": { - "type": "number" - }, - "count": { - "type": "number" - } - }, - "required": [ - "id", - "name", - "path", - "size", - "count" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "id", - "name", - "path", - "target" - ], - "additionalProperties": false - } - ] - } -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayRepeatedNullable.json b/test/schemas/llm.schema/3.1/ArrayRepeatedNullable.json index 62ab4fb24c..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ArrayRepeatedNullable.json +++ b/test/schemas/llm.schema/3.1/ArrayRepeatedNullable.json @@ -1,242 +1 @@ -{ - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedNullable": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "ArrayArrayRepeatedNullable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedNullable" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedNullable" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] - } - } - ] -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayRepeatedRequired.json b/test/schemas/llm.schema/3.1/ArrayRepeatedRequired.json index fc31a94d96..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ArrayRepeatedRequired.json +++ b/test/schemas/llm.schema/3.1/ArrayRepeatedRequired.json @@ -1,206 +1 @@ -{ - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedRequired": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "ArrayArrayRepeatedRequired": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedRequired" - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - } - ] - } - } - ] - } - } - ] - } - } - ] -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayRepeatedUnion.json b/test/schemas/llm.schema/3.1/ArrayRepeatedUnion.json index d40ce7b587..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ArrayRepeatedUnion.json +++ b/test/schemas/llm.schema/3.1/ArrayRepeatedUnion.json @@ -1,874 +1 @@ -{ - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnion": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "ArrayArrayRepeatedUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion" - } - }, - "ArrayRepeatedUnion.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnion.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnion" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnion.IBox3D" - } - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - } - ] -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayRepeatedUnionWithTuple.json b/test/schemas/llm.schema/3.1/ArrayRepeatedUnionWithTuple.json deleted file mode 100644 index 8b045b9a64..0000000000 --- a/test/schemas/llm.schema/3.1/ArrayRepeatedUnionWithTuple.json +++ /dev/null @@ -1,1622 +0,0 @@ -{ - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "components": { - "schemas": { - "ArrayRepeatedUnionWithTuple": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "ArrayArrayRepeatedUnionWithTuple": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple" - } - }, - "ArrayRepeatedUnionWithTuple.IBox3D": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "position": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "rotate": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - }, - "pivot": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ] - }, - "ArrayRepeatedUnionWithTuple.IPoint3D": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "#/components/schemas/ArrayArrayRepeatedUnionWithTuple" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IBox3D" - }, - { - "$ref": "#/components/schemas/ArrayRepeatedUnionWithTuple.IPoint3D" - } - ], - "additionalItems": false - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": {}, - "maxItems": 0 - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "scale": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "position": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "rotate": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - }, - "pivot": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - }, - "required": [ - "scale", - "position", - "rotate", - "pivot" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "z": { - "type": "number" - } - }, - "required": [ - "x", - "y", - "z" - ], - "additionalProperties": false - } - ], - "additionalItems": false - } - ] -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ArrayUnion.json b/test/schemas/llm.schema/3.1/ArrayUnion.json index afb6887e9f..8b132d9c46 100644 --- a/test/schemas/llm.schema/3.1/ArrayUnion.json +++ b/test/schemas/llm.schema/3.1/ArrayUnion.json @@ -1,62 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ArrayUnion.IUnion" - } - }, - "ArrayUnion.IUnion": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "array", diff --git a/test/schemas/llm.schema/3.1/AtomicAlias.json b/test/schemas/llm.schema/3.1/AtomicAlias.json deleted file mode 100644 index 8bf82247cf..0000000000 --- a/test/schemas/llm.schema/3.1/AtomicAlias.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/AtomicClass.json b/test/schemas/llm.schema/3.1/AtomicClass.json deleted file mode 100644 index 3ec5b21815..0000000000 --- a/test/schemas/llm.schema/3.1/AtomicClass.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/AtomicIntersection.json b/test/schemas/llm.schema/3.1/AtomicIntersection.json deleted file mode 100644 index 8bf82247cf..0000000000 --- a/test/schemas/llm.schema/3.1/AtomicIntersection.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/AtomicSimple.json b/test/schemas/llm.schema/3.1/AtomicSimple.json deleted file mode 100644 index 8bf82247cf..0000000000 --- a/test/schemas/llm.schema/3.1/AtomicSimple.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/AtomicUnion.json b/test/schemas/llm.schema/3.1/AtomicUnion.json index 9c48324702..a5ed788285 100644 --- a/test/schemas/llm.schema/3.1/AtomicUnion.json +++ b/test/schemas/llm.schema/3.1/AtomicUnion.json @@ -1,50 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "AtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AtomicUnion.Union" - } - }, - "AtomicUnion.Union": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" diff --git a/test/schemas/llm.schema/3.1/ClassGetter.json b/test/schemas/llm.schema/3.1/ClassGetter.json index 1618dc75e1..3559fa1a42 100644 --- a/test/schemas/llm.schema/3.1/ClassGetter.json +++ b/test/schemas/llm.schema/3.1/ClassGetter.json @@ -8,48 +8,6 @@ "type": "string" }, "dead": { - "components": { - "schemas": { - "ClassGetter.Person": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" diff --git a/test/schemas/llm.schema/3.1/CommentTagArray.json b/test/schemas/llm.schema/3.1/CommentTagArray.json index 2cde513d93..60bf42a904 100644 --- a/test/schemas/llm.schema/3.1/CommentTagArray.json +++ b/test/schemas/llm.schema/3.1/CommentTagArray.json @@ -7,42 +7,39 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { "type": "number" - }, - "minItems": 10, - "maxItems": 10 + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/CommentTagArrayUnion.json b/test/schemas/llm.schema/3.1/CommentTagArrayUnion.json index 0fe350af16..c8939187d5 100644 --- a/test/schemas/llm.schema/3.1/CommentTagArrayUnion.json +++ b/test/schemas/llm.schema/3.1/CommentTagArrayUnion.json @@ -4,93 +4,23 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 3 + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { "type": "number" - }, - "minItems": 3 + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "CommentTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagArrayUnion.Type" - } - }, - "CommentTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number" - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -99,16 +29,14 @@ "type": "number" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { "type": "string" - }, - "minItems": 3, - "maxItems": 7 + } } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/CommentTagAtomicUnion.json b/test/schemas/llm.schema/3.1/CommentTagAtomicUnion.json index 2f1b281410..bcd2339f64 100644 --- a/test/schemas/llm.schema/3.1/CommentTagAtomicUnion.json +++ b/test/schemas/llm.schema/3.1/CommentTagAtomicUnion.json @@ -7,69 +7,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "CommentTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "CommentTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } diff --git a/test/schemas/llm.schema/3.1/CommentTagDefault.json b/test/schemas/llm.schema/3.1/CommentTagDefault.json index 9d27782704..f276ac9e31 100644 --- a/test/schemas/llm.schema/3.1/CommentTagDefault.json +++ b/test/schemas/llm.schema/3.1/CommentTagDefault.json @@ -2,167 +2,28 @@ "type": "object", "properties": { "boolean": { - "type": "boolean", "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." + "description": "Default tag on `boolean` typed value.", + "type": "boolean" }, "number": { - "type": "number", "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." + "description": "Default tag on `number` typed value.", + "type": "number" }, "string": { - "type": "string", "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." + "description": "Default tag on `string` typed value.", + "type": "string" }, "text": { - "type": "string", "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." + "description": "Default tag on `string` typed value with long characters.", + "type": "string" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -176,147 +37,8 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -330,147 +52,8 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -484,147 +67,8 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string" @@ -638,159 +82,17 @@ ] }, "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, "title": "Default value on union typed property", - "description": "Default value on union typed property." + "description": "Default value on union typed property.\n\n\n@minimum 3\n@maximum 5", + "type": "number" }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "CommentTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean", - "title": "Default tag on `boolean` typed value", - "description": "Default tag on `boolean` typed value." - }, - "number": { - "type": "number", - "title": "Default tag on `number` typed value", - "description": "Default tag on `number` typed value." - }, - "string": { - "type": "string", - "title": "Default tag on `string` typed value", - "description": "Default tag on `string` typed value." - }, - "text": { - "type": "string", - "title": "Default tag on `string` typed value with long characters", - "description": "Default tag on `string` typed value with long characters." - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "union_but_string": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "vulnerable_range": { - "type": "number", - "minimum": 3, - "maximum": 5, - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "vulnerable_range", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ], - "title": "Default value on union typed property", - "description": "Default value on union typed property." - }, - "recursive": 3, - "visited": {}, + "title": "Default value on union typed property", + "description": "Default value on union typed property.", "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number" diff --git a/test/schemas/llm.schema/3.1/CommentTagFormat.json b/test/schemas/llm.schema/3.1/CommentTagFormat.json index 3822e1a6bd..3f2924005b 100644 --- a/test/schemas/llm.schema/3.1/CommentTagFormat.json +++ b/test/schemas/llm.schema/3.1/CommentTagFormat.json @@ -2,92 +2,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/CommentTagLength.json b/test/schemas/llm.schema/3.1/CommentTagLength.json index 79018d4b80..0e4d254b05 100644 --- a/test/schemas/llm.schema/3.1/CommentTagLength.json +++ b/test/schemas/llm.schema/3.1/CommentTagLength.json @@ -7,27 +7,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/CommentTagObjectUnion.json b/test/schemas/llm.schema/3.1/CommentTagObjectUnion.json index 23f1069b09..cbabfd44b7 100644 --- a/test/schemas/llm.schema/3.1/CommentTagObjectUnion.json +++ b/test/schemas/llm.schema/3.1/CommentTagObjectUnion.json @@ -1,70 +1,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "CommentTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommentTagObjectUnion.Type" - } - }, - "CommentTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "CommentTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "CommentTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/CommentTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -76,9 +19,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/CommentTagPattern.json b/test/schemas/llm.schema/3.1/CommentTagPattern.json index fb2e985935..063607b08c 100644 --- a/test/schemas/llm.schema/3.1/CommentTagPattern.json +++ b/test/schemas/llm.schema/3.1/CommentTagPattern.json @@ -2,20 +2,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$" + "description": "@pattern [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern (?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/CommentTagRange.json b/test/schemas/llm.schema/3.1/CommentTagRange.json index f81fad64de..9d3a2711fc 100644 --- a/test/schemas/llm.schema/3.1/CommentTagRange.json +++ b/test/schemas/llm.schema/3.1/CommentTagRange.json @@ -7,51 +7,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/CommentTagType.json b/test/schemas/llm.schema/3.1/CommentTagType.json index bcf8e19203..0d258fae85 100644 --- a/test/schemas/llm.schema/3.1/CommentTagType.json +++ b/test/schemas/llm.schema/3.1/CommentTagType.json @@ -7,14 +7,14 @@ "type": "object", "properties": { "int": { - "type": "integer", "title": "Integer value", - "description": "Integer value." + "description": "Integer value.", + "type": "integer" }, "uint": { - "type": "integer", "title": "Unsigned integer value", - "description": "Unsigned integer value." + "description": "Unsigned integer value.", + "type": "integer" }, "int32": { "type": "integer" diff --git a/test/schemas/llm.schema/3.1/ConstantAtomicSimple.json b/test/schemas/llm.schema/3.1/ConstantAtomicSimple.json deleted file mode 100644 index 6aecb01ecc..0000000000 --- a/test/schemas/llm.schema/3.1/ConstantAtomicSimple.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": true - }, - { - "const": 2 - }, - { - "const": "three" - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ConstantAtomicTagged.json b/test/schemas/llm.schema/3.1/ConstantAtomicTagged.json index 254bdd1478..b61165664b 100644 --- a/test/schemas/llm.schema/3.1/ConstantAtomicTagged.json +++ b/test/schemas/llm.schema/3.1/ConstantAtomicTagged.json @@ -2,120 +2,24 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "latest" }, { "type": "string", - "format": "uuid" + "description": "@format uuid" } ] }, "age": { - "components": { - "schemas": { - "ConstantAtomicTagged": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "const": "latest" - }, - { - "type": "string", - "format": "uuid" - } - ] - }, - "age": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - } - }, - "required": [ - "id", - "age" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": -1 - }, - { - "type": "integer", - "maximum": 100 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": -1 }, { "type": "integer", - "maximum": 100 + "description": "@maximum 100" } ] } diff --git a/test/schemas/llm.schema/3.1/ConstantAtomicUnion.json b/test/schemas/llm.schema/3.1/ConstantAtomicUnion.json index 5b7a5fb4fc..648dca966c 100644 --- a/test/schemas/llm.schema/3.1/ConstantAtomicUnion.json +++ b/test/schemas/llm.schema/3.1/ConstantAtomicUnion.json @@ -1,78 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantAtomicUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantAtomicUnion.Union" - } - }, - "ConstantAtomicUnion.Union": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "three" - }, - { - "const": "four" - }, - { - "type": "object", - "properties": { - "key": { - "const": "key" - } - }, - "required": [ - "key" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": false diff --git a/test/schemas/llm.schema/3.1/ConstantAtomicWrapper.json b/test/schemas/llm.schema/3.1/ConstantAtomicWrapper.json deleted file mode 100644 index 36afcf5615..0000000000 --- a/test/schemas/llm.schema/3.1/ConstantAtomicWrapper.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ConstantConstEnumeration.json b/test/schemas/llm.schema/3.1/ConstantConstEnumeration.json index 337e3c0399..1fa9ddcd96 100644 --- a/test/schemas/llm.schema/3.1/ConstantConstEnumeration.json +++ b/test/schemas/llm.schema/3.1/ConstantConstEnumeration.json @@ -1,56 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantConstEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantConstEnumeration.Enumeration" - } - }, - "ConstantConstEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 diff --git a/test/schemas/llm.schema/3.1/ConstantEnumeration.json b/test/schemas/llm.schema/3.1/ConstantEnumeration.json index 0698336487..1fa9ddcd96 100644 --- a/test/schemas/llm.schema/3.1/ConstantEnumeration.json +++ b/test/schemas/llm.schema/3.1/ConstantEnumeration.json @@ -1,56 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ConstantEnumeration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConstantEnumeration.Enumeration" - } - }, - "ConstantEnumeration.Enumeration": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": 0 - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "Three" - }, - { - "const": "Four" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": 0 diff --git a/test/schemas/llm.schema/3.1/ConstantIntersection.json b/test/schemas/llm.schema/3.1/ConstantIntersection.json deleted file mode 100644 index 225fbcd2cf..0000000000 --- a/test/schemas/llm.schema/3.1/ConstantIntersection.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "const": false - }, - { - "const": 1 - }, - { - "const": "two" - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/DynamicEnumeration.json b/test/schemas/llm.schema/3.1/DynamicEnumeration.json index d5d812da0f..c02d946f00 100644 --- a/test/schemas/llm.schema/3.1/DynamicEnumeration.json +++ b/test/schemas/llm.schema/3.1/DynamicEnumeration.json @@ -35,7 +35,18 @@ "type": "string" } }, - "required": [], + "required": [ + "ar", + "zh-Hans", + "zh-Hant", + "en", + "fr", + "de", + "ja", + "ko", + "pt", + "ru" + ], "additionalProperties": false } }, diff --git a/test/schemas/llm.schema/3.1/ObjectAlias.json b/test/schemas/llm.schema/3.1/ObjectAlias.json index d1ac0a2f77..f9049b37c3 100644 --- a/test/schemas/llm.schema/3.1/ObjectAlias.json +++ b/test/schemas/llm.schema/3.1/ObjectAlias.json @@ -4,96 +4,6 @@ "type": "object", "properties": { "id": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -110,105 +20,6 @@ "type": "string" }, "sex": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -228,96 +39,6 @@ ] }, "age": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -328,96 +49,6 @@ ] }, "dead": { - "components": { - "schemas": { - "ObjectAlias": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectAlias.IMember" - } - }, - "ObjectAlias.IMember": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sex": { - "oneOf": [ - { - "type": "null" - }, - { - "const": 1 - }, - { - "const": 2 - }, - { - "const": "male" - }, - { - "const": "female" - } - ] - }, - "age": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "dead": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "email", - "name", - "sex", - "age", - "dead" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" diff --git a/test/schemas/llm.schema/3.1/ObjectDate.json b/test/schemas/llm.schema/3.1/ObjectDate.json index 727bd8bc9c..bc882f9092 100644 --- a/test/schemas/llm.schema/3.1/ObjectDate.json +++ b/test/schemas/llm.schema/3.1/ObjectDate.json @@ -2,477 +2,63 @@ "type": "object", "properties": { "classDate": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "date": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date" + "description": "@format date" } ] }, "datetime": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "date-time" + "description": "@format date-time" } ] }, "time": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "time" + "description": "@format time" } ] }, "duration": { - "components": { - "schemas": { - "ObjectDate": { - "type": "object", - "properties": { - "classDate": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "date": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date" - } - ] - }, - "datetime": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "date-time" - } - ] - }, - "time": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "time" - } - ] - }, - "duration": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - } - }, - "required": [ - "date", - "datetime", - "time", - "duration" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string", - "format": "duration" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, { "type": "string", - "format": "duration" + "description": "@format duration" } ] } }, "required": [ + "classDate", "date", "datetime", "time", diff --git a/test/schemas/llm.schema/3.1/ObjectDescription.json b/test/schemas/llm.schema/3.1/ObjectDescription.json index c7a5f59a1f..b13f5d4d91 100644 --- a/test/schemas/llm.schema/3.1/ObjectDescription.json +++ b/test/schemas/llm.schema/3.1/ObjectDescription.json @@ -1,34 +1,35 @@ { + "title": "This is the title of object type", + "description": "An interface designed to test JSON schema's object description.", "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid", "title": "Primary Key", - "description": "Primary Key." + "description": "Primary Key.\n\n\n@format uuid", + "type": "string" }, "deprecated": { - "type": "boolean", - "deprecated": true, "title": "Deprecated property", - "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam." + "description": "Deprecated property.\n\nIf `@deprecated` comment tag being utilized, the property will be marked\nas deprecated in the JSON scheam.", + "type": "boolean", + "deprecated": true }, "title": { - "type": "string", "title": "This is the title", - "description": "Title tag can replace the first line of the comment." + "description": "Title tag can replace the first line of the comment.", + "type": "string" }, "descriptions": { + "title": "Description property", + "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written.", "type": "array", "items": { "type": "string" - }, - "title": "Description property", - "description": "Description property.\n\nIf you write first line and the first line ends with \".\" character,\nit would be considered as the title. By the way, description does\nnot exclusive the title, so that full content be written." + } }, "newLine": { - "type": "number", - "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema." + "description": "New line before dot character\n\nIf dot character (\".\") being used before the first new line, it would not\nbe considered as title in the JSON schema.", + "type": "number" } }, "required": [ @@ -38,7 +39,5 @@ "descriptions", "newLine" ], - "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description.", "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectGeneric.json b/test/schemas/llm.schema/3.1/ObjectGeneric.json deleted file mode 100644 index b8b82461b1..0000000000 --- a/test/schemas/llm.schema/3.1/ObjectGeneric.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "value": { - "type": "boolean" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "boolean" - }, - "child_next": { - "type": "boolean" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "number" - }, - "child_next": { - "type": "number" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "child": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - }, - "elements": { - "type": "array", - "items": { - "type": "object", - "properties": { - "child_value": { - "type": "string" - }, - "child_next": { - "type": "string" - } - }, - "required": [ - "child_value", - "child_next" - ], - "additionalProperties": false - } - } - }, - "required": [ - "value", - "child", - "elements" - ], - "additionalProperties": false - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectGenericUnion.json b/test/schemas/llm.schema/3.1/ObjectGenericUnion.json index c88c9c418c..b9e21457b2 100644 --- a/test/schemas/llm.schema/3.1/ObjectGenericUnion.json +++ b/test/schemas/llm.schema/3.1/ObjectGenericUnion.json @@ -2,241 +2,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -245,241 +10,6 @@ "type": "string" }, "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -519,241 +49,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -832,241 +127,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1120,241 +180,6 @@ "type": "string" }, "answer": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1394,241 +219,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -1710,241 +300,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectGenericUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleEntireArticle" - } - }, - "required": [ - "value" - ] - }, - "ObjectGenericUnion.ISaleEntireArticle": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleQuestion" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview" - } - ] - }, - "ObjectGenericUnion.ISaleQuestion": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleAnswer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleArticle.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleArticle.IContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "id", - "created_at", - "title", - "body", - "files" - ] - }, - "ObjectGenericUnion.IAttachmentFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "name", - "extension", - "url" - ] - }, - "ObjectGenericUnion.ISaleReview": { - "type": "object", - "properties": { - "writer": { - "type": "string" - }, - "answer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleAnswer" - } - ] - }, - "id": { - "type": "string" - }, - "hit": { - "type": "number" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.ISaleReview.IContent" - } - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "writer", - "answer", - "id", - "hit", - "contents", - "created_at" - ] - }, - "ObjectGenericUnion.ISaleReview.IContent": { - "type": "object", - "properties": { - "score": { - "type": "number" - }, - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectGenericUnion.IAttachmentFile" - } - } - }, - "required": [ - "score", - "id", - "created_at", - "title", - "body", - "files" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" diff --git a/test/schemas/llm.schema/3.1/ObjectHierarchical.json b/test/schemas/llm.schema/3.1/ObjectHierarchical.json deleted file mode 100644 index c2ba412284..0000000000 --- a/test/schemas/llm.schema/3.1/ObjectHierarchical.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ], - "additionalProperties": false - }, - "member": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "enterprise": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ], - "additionalProperties": false - } - ] - }, - "account": { - "components": { - "schemas": { - "ObjectHierarchical.ICustomer": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "channel": { - "$ref": "#/components/schemas/ObjectHierarchical.IChannel" - }, - "member": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IMember" - } - ] - }, - "account": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ] - }, - "ObjectHierarchical.IChannel": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "exclusive": { - "type": "boolean" - }, - "priority": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "name", - "sequence", - "exclusive", - "priority", - "created_at" - ] - }, - "ObjectHierarchical.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - }, - "ObjectHierarchical.IMember": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "enterprise": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IEnterprise" - } - ] - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - }, - "authorized": { - "type": "boolean" - } - }, - "required": [ - "id", - "account", - "enterprise", - "emails", - "created_at", - "authorized" - ] - }, - "ObjectHierarchical.IAccount": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "code", - "created_at" - ] - }, - "ObjectHierarchical.IEnterprise": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "account": { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - }, - "name": { - "type": "string" - }, - "grade": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectHierarchical.ITimestamp" - } - }, - "required": [ - "id", - "account", - "name", - "grade", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectHierarchical.IAccount" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "code", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "href": { - "type": "string" - }, - "referrer": { - "type": "string" - }, - "ip": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "number" - } - ], - "additionalItems": false - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "id", - "channel", - "member", - "account", - "href", - "referrer", - "ip", - "created_at" - ], - "additionalProperties": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectJsonTag.json b/test/schemas/llm.schema/3.1/ObjectJsonTag.json index 2bcdd45888..11c30a4716 100644 --- a/test/schemas/llm.schema/3.1/ObjectJsonTag.json +++ b/test/schemas/llm.schema/3.1/ObjectJsonTag.json @@ -6,19 +6,19 @@ "deprecated": true }, "description": { - "type": "string", "title": "Descripted property", - "description": "Descripted property." + "description": "Descripted property.", + "type": "string" }, "title": { - "type": "string", "title": "something", - "description": "Titled property." + "description": "Titled property.", + "type": "string" }, "complicate_title": { - "type": "string", "title": "something weirdo with {@link something } tag", - "description": "Complicate title." + "description": "Complicate title.", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/ObjectNullable.json b/test/schemas/llm.schema/3.1/ObjectNullable.json index 5c06395ee4..cb3967f943 100644 --- a/test/schemas/llm.schema/3.1/ObjectNullable.json +++ b/test/schemas/llm.schema/3.1/ObjectNullable.json @@ -26,125 +26,6 @@ "additionalProperties": false }, "brand": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" @@ -168,129 +49,6 @@ ] }, "similar": { - "components": { - "schemas": { - "ObjectNullable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectNullable.IProduct" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectNullable.IProduct": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "manufacturer": { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - }, - "brand": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand" - } - } - }, - "similar": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - } - }, - "required": [ - "name", - "manufacturer", - "brand", - "similar" - ] - }, - "ObjectNullable.IManufacturer": { - "type": "object", - "properties": { - "type": { - "const": "manufacturer" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - }, - "ObjectNullable.IBrand": { - "type": "object", - "properties": { - "type": { - "const": "brand" - }, - "name": { - "type": "string" - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IBrand" - }, - { - "$ref": "#/components/schemas/ObjectNullable.IManufacturer" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "brand": "#/components/schemas/ObjectNullable.IBrand", - "manufacturer": "#/components/schemas/ObjectNullable.IManufacturer" - } - } - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" diff --git a/test/schemas/llm.schema/3.1/ObjectOptional.json b/test/schemas/llm.schema/3.1/ObjectOptional.json index 9a3404ece0..80ba12f320 100644 --- a/test/schemas/llm.schema/3.1/ObjectOptional.json +++ b/test/schemas/llm.schema/3.1/ObjectOptional.json @@ -14,6 +14,11 @@ "type": "number" } }, - "required": [], + "required": [ + "id", + "name", + "email", + "sequence" + ], "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectPartial.json b/test/schemas/llm.schema/3.1/ObjectPartial.json index 50e63c76de..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ObjectPartial.json +++ b/test/schemas/llm.schema/3.1/ObjectPartial.json @@ -1,595 +1 @@ -{ - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "PartialObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional" - }, - "ObjectPartial.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartial.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "additionalProperties": false - } - ] - } - }, - "required": [], - "description": "Make all properties in T optional\n\n------------------------------\n\nDescription of the current {@link PartialObjectPartial.IBase} type:\n\n> Make all properties in T optional", - "additionalProperties": false -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectPartialAndRequired.json b/test/schemas/llm.schema/3.1/ObjectPartialAndRequired.json index b8553ffb4c..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ObjectPartialAndRequired.json +++ b/test/schemas/llm.schema/3.1/ObjectPartialAndRequired.json @@ -1,328 +1 @@ -{ - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "components": { - "schemas": { - "ObjectPartialAndRequired": { - "type": "object", - "properties": { - "string": { - "type": "string" - }, - "number": { - "type": "number" - }, - "boolean": { - "type": "boolean" - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPartialAndRequired" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false - } - ] - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "object", - "array" - ], - "additionalProperties": false -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectPrimitive.json b/test/schemas/llm.schema/3.1/ObjectPrimitive.json index bccbf68c88..d5a24c91a5 100644 --- a/test/schemas/llm.schema/3.1/ObjectPrimitive.json +++ b/test/schemas/llm.schema/3.1/ObjectPrimitive.json @@ -5,100 +5,6 @@ "type": "string" }, "extension": { - "components": { - "schemas": { - "ObjectPrimitive.IArticle": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "extension": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "title": { - "type": "string" - }, - "body": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPrimitive.IFile" - } - }, - "secret": { - "type": "boolean" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "extension", - "title", - "body", - "files", - "secret", - "created_at" - ] - }, - "ObjectPrimitive.IFile": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "extension": { - "type": "string" - }, - "url": { - "type": "string" - }, - "created_at": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "extension", - "url", - "created_at" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "txt" - }, - { - "const": "md" - }, - { - "const": "html" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "txt" diff --git a/test/schemas/llm.schema/3.1/ObjectPropertyNullable.json b/test/schemas/llm.schema/3.1/ObjectPropertyNullable.json deleted file mode 100644 index 221ae6992d..0000000000 --- a/test/schemas/llm.schema/3.1/ObjectPropertyNullable.json +++ /dev/null @@ -1,1286 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "components": { - "schemas": { - "ObjectPropertyNullable": { - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerboolean" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointernumber" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerstring" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember" - } - } - ], - "additionalItems": false - }, - "ObjectPropertyNullable.IPointerboolean": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointernumber": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerstring": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IPointerObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectPropertyNullable.IMember" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectPropertyNullable.IMember": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - } - ] - }, - "grade": { - "type": "number" - }, - "serial": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "activated": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "id", - "name", - "activated" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectRecursive.json b/test/schemas/llm.schema/3.1/ObjectRecursive.json index 5ac8dd413d..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ObjectRecursive.json +++ b/test/schemas/llm.schema/3.1/ObjectRecursive.json @@ -1,472 +1 @@ -{ - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "parent": { - "components": { - "schemas": { - "ObjectRecursive.IDepartment": { - "type": "object", - "properties": { - "parent": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "$ref": "#/components/schemas/ObjectRecursive.ITimestamp" - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ] - }, - "ObjectRecursive.ITimestamp": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRecursive.IDepartment" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false - } - ] - }, - "id": { - "type": "number" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sequence": { - "type": "number" - }, - "created_at": { - "type": "object", - "properties": { - "time": { - "type": "number" - }, - "zone": { - "type": "number" - } - }, - "required": [ - "time", - "zone" - ], - "additionalProperties": false - } - }, - "required": [ - "parent", - "id", - "code", - "name", - "sequence", - "created_at" - ], - "additionalProperties": false -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectRequired.json b/test/schemas/llm.schema/3.1/ObjectRequired.json index 78a1eded58..9e26dfeeb6 100644 --- a/test/schemas/llm.schema/3.1/ObjectRequired.json +++ b/test/schemas/llm.schema/3.1/ObjectRequired.json @@ -1,577 +1 @@ -{ - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "components": { - "schemas": { - "RequiredObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required" - }, - "ObjectRequired.IBase": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number" - }, - "string": { - "type": "string" - }, - "array": { - "type": "array", - "items": { - "type": "number" - } - }, - "object": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - } - }, - "required": [] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ObjectRequired.IBase" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [], - "additionalProperties": false - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "array", - "object" - ], - "description": "Make all properties in T required\n\n------------------------------\n\nDescription of the current {@link RequiredObjectRequired.IBase} type:\n\n> Make all properties in T required", - "additionalProperties": false -} \ No newline at end of file +{} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectTuple.json b/test/schemas/llm.schema/3.1/ObjectTuple.json deleted file mode 100644 index 7a2305f1b5..0000000000 --- a/test/schemas/llm.schema/3.1/ObjectTuple.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "code", - "name" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ObjectUndefined.json b/test/schemas/llm.schema/3.1/ObjectUndefined.json index 4d78cb5aab..1caa7077f9 100644 --- a/test/schemas/llm.schema/3.1/ObjectUndefined.json +++ b/test/schemas/llm.schema/3.1/ObjectUndefined.json @@ -7,72 +7,6 @@ "type": "string" }, "professor": { - "components": { - "schemas": { - "ObjectUndefined": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUndefined.ILecture" - } - }, - "ObjectUndefined.ILecture": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "professor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "classroom": { - "$ref": "#/components/schemas/ObjectUndefined.IClassroom" - }, - "grade": { - "type": "number" - }, - "unknown": {} - }, - "required": [ - "name", - "unknown" - ] - }, - "ObjectUndefined.IClassroom": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -105,6 +39,9 @@ }, "required": [ "name", + "professor", + "classroom", + "grade", "unknown" ], "additionalProperties": false diff --git a/test/schemas/llm.schema/3.1/ObjectUnionComposite.json b/test/schemas/llm.schema/3.1/ObjectUnionComposite.json index 2ffea999e3..923b42192f 100644 --- a/test/schemas/llm.schema/3.1/ObjectUnionComposite.json +++ b/test/schemas/llm.schema/3.1/ObjectUnionComposite.json @@ -1,208 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionComposite": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - } - }, - "ObjectUnionComposite.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionComposite.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionComposite.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionComposite.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionComposite.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionComposite.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionComposite.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionComposite.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", diff --git a/test/schemas/llm.schema/3.1/ObjectUnionCompositePointer.json b/test/schemas/llm.schema/3.1/ObjectUnionCompositePointer.json index 66b375e846..d3b7f8e6e2 100644 --- a/test/schemas/llm.schema/3.1/ObjectUnionCompositePointer.json +++ b/test/schemas/llm.schema/3.1/ObjectUnionCompositePointer.json @@ -7,227 +7,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionCompositePointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerIPointILineITriangleIRectangleIPolylineIPolygonIPointedShapeICircle": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionCompositePointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionCompositePointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionCompositePointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionCompositePointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionCompositePointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionCompositePointer.IPointedShape": { - "type": "object", - "properties": { - "outer": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "inner": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - } - } - }, - "required": [ - "outer", - "inner" - ] - }, - "ObjectUnionCompositePointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - "radius": { - "type": "number" - } - }, - "required": [ - "centroid", - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPointedShape" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionCompositePointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", diff --git a/test/schemas/llm.schema/3.1/ObjectUnionDouble.json b/test/schemas/llm.schema/3.1/ObjectUnionDouble.json index d8fb679e29..aba4335ea4 100644 --- a/test/schemas/llm.schema/3.1/ObjectUnionDouble.json +++ b/test/schemas/llm.schema/3.1/ObjectUnionDouble.json @@ -1,177 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -189,177 +18,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", @@ -428,177 +86,6 @@ "additionalProperties": false }, "child": { - "components": { - "schemas": { - "ObjectUnionDouble": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionDouble.Union" - } - }, - "ObjectUnionDouble.Union": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IA" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IB" - } - ] - }, - "ObjectUnionDouble.IA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "number" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IAA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IAB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "number" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IAA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "boolean" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "x": { - "type": "string" - } - }, - "required": [ - "x" - ] - }, - "child": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - } - }, - "required": [ - "value", - "child" - ] - }, - "ObjectUnionDouble.IBB": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "array", - "items": { - "type": "number" - } - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionDouble.IBA": { - "type": "object", - "properties": { - "value": { - "type": "object", - "properties": { - "y": { - "type": "string" - } - }, - "required": [ - "y" - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBB" - }, - { - "$ref": "#/components/schemas/ObjectUnionDouble.IBA" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", diff --git a/test/schemas/llm.schema/3.1/ObjectUnionExplicit.json b/test/schemas/llm.schema/3.1/ObjectUnionExplicit.json index 5b28d0cb4b..97db68493d 100644 --- a/test/schemas/llm.schema/3.1/ObjectUnionExplicit.json +++ b/test/schemas/llm.schema/3.1/ObjectUnionExplicit.json @@ -1,241 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionExplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - } - }, - "ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicit.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpointObjectUnionExplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorlineObjectUnionExplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatortriangleObjectUnionExplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorrectangleObjectUnionExplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolylineObjectUnionExplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorpolygonObjectUnionExplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicit.DiscriminatorcircleObjectUnionExplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", diff --git a/test/schemas/llm.schema/3.1/ObjectUnionExplicitPointer.json b/test/schemas/llm.schema/3.1/ObjectUnionExplicitPointer.json index 3c56864b71..7bbd6f71f2 100644 --- a/test/schemas/llm.schema/3.1/ObjectUnionExplicitPointer.json +++ b/test/schemas/llm.schema/3.1/ObjectUnionExplicitPointer.json @@ -7,263 +7,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionExplicitPointer": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPointerObjectUnionExplicitPointer.Shape" - } - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionExplicitPointer.Shape": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.Shape" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionExplicitPointer.Shape": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "type": { - "const": "point" - } - }, - "required": [ - "x", - "y", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "line" - } - }, - "required": [ - "p1", - "p2", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "triangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "type": { - "const": "rectangle" - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - }, - "type": { - "const": "polyline" - } - }, - "required": [ - "points", - "type" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPolyline" - } - }, - "type": { - "const": "polygon" - } - }, - "required": [ - "outer", - "inner", - "type" - ] - }, - "ObjectUnionExplicitPointer.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - } - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle": { - "type": "object", - "properties": { - "centroid": { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.IPoint" - }, - "radius": { - "type": "number" - }, - "type": { - "const": "circle" - } - }, - "required": [ - "centroid", - "radius", - "type" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpointObjectUnionExplicitPointer.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorlineObjectUnionExplicitPointer.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatortriangleObjectUnionExplicitPointer.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorrectangleObjectUnionExplicitPointer.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolylineObjectUnionExplicitPointer.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorpolygonObjectUnionExplicitPointer.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionExplicitPointer.DiscriminatorcircleObjectUnionExplicitPointer.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", diff --git a/test/schemas/llm.schema/3.1/ObjectUnionImplicit.json b/test/schemas/llm.schema/3.1/ObjectUnionImplicit.json index a99c0d36ca..6cc348de9f 100644 --- a/test/schemas/llm.schema/3.1/ObjectUnionImplicit.json +++ b/test/schemas/llm.schema/3.1/ObjectUnionImplicit.json @@ -1,607 +1,242 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" + "y": { + "type": "number" }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "width": { + "oneOf": [ { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" + "type": "number" + } + ] + }, + "distance": { + "oneOf": [ + { + "type": "null" }, { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" + "type": "number" } ] } }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "required": [ + "p1", + "p2", + "width", + "distance" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "p1": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] + "p3": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + ] }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + ] }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } }, "required": [ - "x", - "y" + "p1", + "p2", + "p3", + "width", + "height", + "area" ], "additionalProperties": false }, @@ -618,7257 +253,51 @@ "type": "number" }, "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "p1": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p2": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p3": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "p4": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - }, - "width": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "outer": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - }, - "inner": { - "type": "array", - "items": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ], - "additionalProperties": false - } - }, - "length": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ], - "additionalProperties": false - } - }, - "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, - "oneOf": [ - { - "type": "null" + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p2": { + "type": "object", + "properties": { + "x": { + "type": "number" }, - { + "y": { "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } - ] - } - }, - "required": [ - "outer" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "radius": { - "type": "number" + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false }, - "centroid": { + "p3": { "type": "object", "properties": { "x": { @@ -7878,287 +307,33 @@ "type": "number" }, "slope": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } - }, - "ObjectUnionImplicit.IPoint": { - "type": "object", - "properties": { - "x": { - "type": "number" - }, - "y": { - "type": "number" - }, - "slope": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - } - }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] - }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { - "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "radius" - ] - } + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "p4": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { "oneOf": [ { "type": "null" @@ -8171,42 +346,112 @@ }, "required": [ "x", - "y" + "y", + "slope" ], "additionalProperties": false }, + "width": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + }, "area": { - "components": { - "schemas": { - "ObjectUnionImplicit": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ILine" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ITriangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IRectangle" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolygon" - }, - { - "$ref": "#/components/schemas/ObjectUnionImplicit.ICircle" - } - ] - } + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "p1", + "p2", + "p3", + "p4", + "width", + "height", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" }, - "ObjectUnionImplicit.IPoint": { + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "outer": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { "type": "object", "properties": { "x": { @@ -8228,235 +473,134 @@ }, "required": [ "x", - "y" - ] - }, - "ObjectUnionImplicit.ILine": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "distance": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2" - ] - }, - "ObjectUnionImplicit.ITriangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "p1", - "p2", - "p3" - ] - }, - "ObjectUnionImplicit.IRectangle": { - "type": "object", - "properties": { - "p1": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p2": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p3": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "p4": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "width": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } + "y", + "slope" + ], + "additionalProperties": false + } + }, + "length": { + "oneOf": [ + { + "type": "null" }, - "required": [ - "p1", - "p2", - "p3", - "p4" - ] - }, - "ObjectUnionImplicit.IPolyline": { - "type": "object", - "properties": { - "points": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" + { + "type": "number" + } + ] + } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + }, + "inner": { + "type": "array", + "items": { + "type": "object", + "properties": { + "points": { + "type": "array", + "items": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "length": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "points" - ] + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + } }, - "ObjectUnionImplicit.IPolygon": { - "type": "object", - "properties": { - "outer": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - }, - "inner": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPolyline" - } + "length": { + "oneOf": [ + { + "type": "null" }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - } - }, - "required": [ - "outer" - ] - }, - "ObjectUnionImplicit.ICircle": { - "type": "object", - "properties": { - "radius": { + { "type": "number" - }, - "centroid": { - "$ref": "#/components/schemas/ObjectUnionImplicit.IPoint" - }, - "area": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] } - }, - "required": [ - "radius" ] } + }, + "required": [ + "points", + "length" + ], + "additionalProperties": false + } + }, + "area": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "outer", + "inner", + "area" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "radius": { + "type": "number" + }, + "centroid": { + "type": "object", + "properties": { + "x": { + "type": "number" + }, + "y": { + "type": "number" + }, + "slope": { + "oneOf": [ + { + "type": "null" + }, + { + "type": "number" + } + ] } }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "number" - } - ] - }, - "recursive": 3, - "visited": {}, + "required": [ + "x", + "y", + "slope" + ], + "additionalProperties": false + }, + "area": { "oneOf": [ { "type": "null" @@ -8468,7 +612,9 @@ } }, "required": [ - "radius" + "radius", + "centroid", + "area" ], "additionalProperties": false } diff --git a/test/schemas/llm.schema/3.1/ObjectUnionNonPredictable.json b/test/schemas/llm.schema/3.1/ObjectUnionNonPredictable.json index a86743ef10..e528c46244 100644 --- a/test/schemas/llm.schema/3.1/ObjectUnionNonPredictable.json +++ b/test/schemas/llm.schema/3.1/ObjectUnionNonPredictable.json @@ -10,140 +10,6 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "ObjectUnionNonPredictable": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion" - } - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "IPointerObjectUnionNonPredictable.IUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IUnion" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IUnion": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "ObjectUnionNonPredictable.IWrapperboolean": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerboolean" - } - }, - "required": [ - "value" - ] - }, - "IPointerboolean": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrappernumber": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointernumber" - } - }, - "required": [ - "value" - ] - }, - "IPointernumber": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "required": [ - "value" - ] - }, - "ObjectUnionNonPredictable.IWrapperstring": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/IPointerstring" - } - }, - "required": [ - "value" - ] - }, - "IPointerstring": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperboolean" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrappernumber" - }, - { - "$ref": "#/components/schemas/ObjectUnionNonPredictable.IWrapperstring" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", diff --git a/test/schemas/llm.schema/3.1/TemplateAtomic.json b/test/schemas/llm.schema/3.1/TemplateAtomic.json index 13c791a6d7..8b2037f8ed 100644 --- a/test/schemas/llm.schema/3.1/TemplateAtomic.json +++ b/test/schemas/llm.schema/3.1/TemplateAtomic.json @@ -2,95 +2,26 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" + "description": "@pattern ((.*)_postfix)$", + "type": "string" }, "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" + "description": "@pattern ^(the_(.*)_value)$", + "type": "string" }, "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$", + "type": "string" }, "middle_boolean": { - "components": { - "schemas": { - "TemplateAtomic": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - "postfix": { - "type": "string", - "pattern": "((.*)_postfix)$" - }, - "middle_string": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_string_empty": { - "type": "string", - "pattern": "^(the_(.*)_value)$" - }, - "middle_numeric": { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - "middle_boolean": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" - }, - "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" - } - }, - "required": [ - "prefix", - "postfix", - "middle_string", - "middle_string_empty", - "middle_numeric", - "middle_boolean", - "ipv4", - "email" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_false_value" @@ -101,12 +32,12 @@ ] }, "ipv4": { - "type": "string", - "pattern": "^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$" + "description": "@pattern ^([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\.[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "((.*)@(.*)\\.(.*))" + "description": "@pattern ((.*)@(.*)\\.(.*))", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TemplateConstant.json b/test/schemas/llm.schema/3.1/TemplateConstant.json index 0b8f7fe53c..3a7f2a6cd4 100644 --- a/test/schemas/llm.schema/3.1/TemplateConstant.json +++ b/test/schemas/llm.schema/3.1/TemplateConstant.json @@ -7,106 +7,6 @@ "type": "object", "properties": { "prefix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "prefix_A" @@ -120,106 +20,6 @@ ] }, "postfix": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "1_postfix" @@ -233,124 +33,6 @@ ] }, "combined": { - "components": { - "schemas": { - "TemplateConstant": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateConstant.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateConstant.Type": { - "type": "object", - "properties": { - "prefix": { - "oneOf": [ - { - "const": "prefix_A" - }, - { - "const": "prefix_B" - }, - { - "const": "prefix_C" - } - ] - }, - "postfix": { - "oneOf": [ - { - "const": "1_postfix" - }, - { - "const": "2_postfix" - }, - { - "const": "3_postfix" - } - ] - }, - "combined": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "combined" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "const": "the_1_value_with_label_A" - }, - { - "const": "the_1_value_with_label_B" - }, - { - "const": "the_1_value_with_label_C" - }, - { - "const": "the_2_value_with_label_A" - }, - { - "const": "the_2_value_with_label_B" - }, - { - "const": "the_2_value_with_label_C" - }, - { - "const": "the_3_value_with_label_A" - }, - { - "const": "the_3_value_with_label_B" - }, - { - "const": "the_3_value_with_label_C" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "const": "the_1_value_with_label_A" diff --git a/test/schemas/llm.schema/3.1/TemplateUnion.json b/test/schemas/llm.schema/3.1/TemplateUnion.json index f15ce82de6..70cfe81e61 100644 --- a/test/schemas/llm.schema/3.1/TemplateUnion.json +++ b/test/schemas/llm.schema/3.1/TemplateUnion.json @@ -7,116 +7,18 @@ "type": "object", "properties": { "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" + "description": "@pattern ^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$", + "type": "string" }, "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" + "description": "@pattern (((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$", + "type": "string" }, "middle": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_false_value" @@ -127,125 +29,10 @@ ] }, "mixed": { - "components": { - "schemas": { - "TemplateUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TemplateUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TemplateUnion.Type": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "pattern": "^((prefix_(.*))|(prefix_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?))$" - }, - "postfix": { - "type": "string", - "pattern": "(((.*)_postfix)|([+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_postfix))$" - }, - "middle": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_false_value" - }, - { - "const": "the_true_value" - } - ] - }, - "mixed": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - } - }, - "required": [ - "prefix", - "postfix", - "middle", - "mixed" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" - }, - { - "const": "the_A_value" - }, - { - "const": "the_B_value" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" + "description": "@pattern ^(the_[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?_value)$" }, { "const": "the_A_value" diff --git a/test/schemas/llm.schema/3.1/ToJsonArray.json b/test/schemas/llm.schema/3.1/ToJsonArray.json deleted file mode 100644 index 974aa3becc..0000000000 --- a/test/schemas/llm.schema/3.1/ToJsonArray.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ], - "additionalProperties": false - } - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ToJsonAtomicSimple.json b/test/schemas/llm.schema/3.1/ToJsonAtomicSimple.json deleted file mode 100644 index 8bf82247cf..0000000000 --- a/test/schemas/llm.schema/3.1/ToJsonAtomicSimple.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - }, - { - "type": "string" - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ToJsonAtomicUnion.json b/test/schemas/llm.schema/3.1/ToJsonAtomicUnion.json index 17bb233435..a5ed788285 100644 --- a/test/schemas/llm.schema/3.1/ToJsonAtomicUnion.json +++ b/test/schemas/llm.schema/3.1/ToJsonAtomicUnion.json @@ -1,47 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonAtomicUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - } - } - } - }, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "null" diff --git a/test/schemas/llm.schema/3.1/ToJsonTuple.json b/test/schemas/llm.schema/3.1/ToJsonTuple.json deleted file mode 100644 index ebc95f78f1..0000000000 --- a/test/schemas/llm.schema/3.1/ToJsonTuple.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "code", - "name" - ], - "additionalProperties": false - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/ToJsonUnion.json b/test/schemas/llm.schema/3.1/ToJsonUnion.json index 4152a2c6b2..0a6e5c1e75 100644 --- a/test/schemas/llm.schema/3.1/ToJsonUnion.json +++ b/test/schemas/llm.schema/3.1/ToJsonUnion.json @@ -1,97 +1,6 @@ { "type": "array", "items": { - "components": { - "schemas": { - "ToJsonUnion": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - } - }, - "ToJsonUnion.ICitizen": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "mobile": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "mobile", - "name" - ] - }, - "ToJsonUnion.IProduct": { - "type": "object", - "properties": { - "manufacturer": { - "type": "string" - }, - "brand": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "manufacturer", - "brand", - "name" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.IProduct" - }, - { - "type": "string" - }, - { - "type": "number" - }, - { - "$ref": "#/components/schemas/ToJsonUnion.ICitizen" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "boolean" diff --git a/test/schemas/llm.schema/3.1/TupleHierarchical.json b/test/schemas/llm.schema/3.1/TupleHierarchical.json deleted file mode 100644 index 7191c84ad8..0000000000 --- a/test/schemas/llm.schema/3.1/TupleHierarchical.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "null" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - ], - "additionalItems": false - }, - { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "array", - "prefixItems": [ - { - "type": "number" - }, - { - "type": "number" - }, - { - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "string" - } - ], - "additionalItems": false - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - } - ], - "additionalItems": false - } - ], - "additionalItems": false -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/TupleRestArray.json b/test/schemas/llm.schema/3.1/TupleRestArray.json deleted file mode 100644 index a7a6092570..0000000000 --- a/test/schemas/llm.schema/3.1/TupleRestArray.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "array", - "items": { - "type": "string" - } - } -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/TupleRestAtomic.json b/test/schemas/llm.schema/3.1/TupleRestAtomic.json deleted file mode 100644 index fbbe50790d..0000000000 --- a/test/schemas/llm.schema/3.1/TupleRestAtomic.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "string" - } -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/TupleRestObject.json b/test/schemas/llm.schema/3.1/TupleRestObject.json deleted file mode 100644 index 7eb82c884a..0000000000 --- a/test/schemas/llm.schema/3.1/TupleRestObject.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "type": "array", - "prefixItems": [ - { - "type": "boolean" - }, - { - "type": "number" - } - ], - "additionalItems": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "additionalProperties": false - } -} \ No newline at end of file diff --git a/test/schemas/llm.schema/3.1/TypeTagArray.json b/test/schemas/llm.schema/3.1/TypeTagArray.json index fd0d97b857..80b7c8323a 100644 --- a/test/schemas/llm.schema/3.1/TypeTagArray.json +++ b/test/schemas/llm.schema/3.1/TypeTagArray.json @@ -7,47 +7,43 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } }, "equal": { + "description": "@minItems 10\n@maxItems 10", "type": "array", "items": { - "type": "number", - "minimum": 10, - "maximum": 10 - }, - "minItems": 10, - "maxItems": 10 + "description": "@minimum 10\n@maximum 10", + "type": "number" + } }, "unique": { + "description": "@uniqueItems", "type": "array", "items": { "type": "string" - }, - "uniqueItems": true + } } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TypeTagArrayUnion.json b/test/schemas/llm.schema/3.1/TypeTagArrayUnion.json index 468f26f2cf..8ec1060c66 100644 --- a/test/schemas/llm.schema/3.1/TypeTagArrayUnion.json +++ b/test/schemas/llm.schema/3.1/TypeTagArrayUnion.json @@ -4,123 +4,44 @@ "type": "object", "properties": { "items": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } }, "minItems": { + "description": "@minItems 3", "type": "array", "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 + "description": "@minimum 3", + "type": "number" + } }, "maxItems": { + "description": "@maxItems 7", "type": "array", "items": { - "components": { - "schemas": { - "TypeTagArrayUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagArrayUnion.Type" - } - }, - "TypeTagArrayUnion.Type": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 3 - }, - "minItems": { - "type": "array", - "items": { - "type": "number", - "minimum": 3 - }, - "minItems": 3 - }, - "maxItems": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "maxItems": 7 - }, - "both": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 - } - }, - "required": [ - "items", - "minItems", - "maxItems", - "both" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "maxLength": 7 - }, - { - "type": "number", - "maximum": 7 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "maxLength": 7 + "description": "@maxLength 7" }, { "type": "number", - "maximum": 7 + "description": "@maximum 7" } ] - }, - "maxItems": 7 + } }, "both": { + "description": "@minItems 3\n@maxItems 7", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 3, - "maxItems": 7 + "description": "@format uuid", + "type": "string" + } } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TypeTagAtomicUnion.json b/test/schemas/llm.schema/3.1/TypeTagAtomicUnion.json index 0e8a04a873..bcd2339f64 100644 --- a/test/schemas/llm.schema/3.1/TypeTagAtomicUnion.json +++ b/test/schemas/llm.schema/3.1/TypeTagAtomicUnion.json @@ -7,69 +7,14 @@ "type": "object", "properties": { "value": { - "components": { - "schemas": { - "TypeTagAtomicUnion": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagAtomicUnion.Type" - } - } - }, - "required": [ - "value" - ] - }, - "TypeTagAtomicUnion.Type": { - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3 - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7" }, { "type": "number", - "minimum": 3 + "description": "@minimum 3" } ] } diff --git a/test/schemas/llm.schema/3.1/TypeTagCustom.json b/test/schemas/llm.schema/3.1/TypeTagCustom.json index 9f9c6e6cab..8f806b9c88 100644 --- a/test/schemas/llm.schema/3.1/TypeTagCustom.json +++ b/test/schemas/llm.schema/3.1/TypeTagCustom.json @@ -2,20 +2,20 @@ "type": "object", "properties": { "id": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "dollar": { - "type": "string", - "x-typia-monetary": "dollar" + "x-typia-monetary": "dollar", + "type": "string" }, "postfix": { - "type": "string", - "x-typia-postfix": "abcd" + "x-typia-postfix": "abcd", + "type": "string" }, "powerOf": { - "type": "number", - "x-typia-powerOf": 2 + "x-typia-powerOf": 2, + "type": "number" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TypeTagDefault.json b/test/schemas/llm.schema/3.1/TypeTagDefault.json index ff8762f390..ad30a96250 100644 --- a/test/schemas/llm.schema/3.1/TypeTagDefault.json +++ b/test/schemas/llm.schema/3.1/TypeTagDefault.json @@ -17,129 +17,6 @@ "default": "Very long text, can you understand it?" }, "boolean_and_number_and_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number", @@ -155,127 +32,6 @@ ] }, "union_but_boolean": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -289,128 +45,6 @@ ] }, "union_but_number": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string" @@ -425,128 +59,6 @@ ] }, "union_but_string": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "number" @@ -561,133 +73,10 @@ ] }, "boolean_and_number_and_template": { - "components": { - "schemas": { - "TypeTagDefault": { - "type": "object", - "properties": { - "boolean": { - "type": "boolean" - }, - "number": { - "type": "number", - "default": 1 - }, - "string": { - "type": "string", - "default": "two" - }, - "text": { - "type": "string", - "default": "Very long text, can you understand it?" - }, - "boolean_and_number_and_string": { - "oneOf": [ - { - "type": "number", - "default": 1 - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "union_but_boolean": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - } - ] - }, - "union_but_number": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number", - "default": 1 - }, - { - "type": "boolean" - } - ] - }, - "union_but_string": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string", - "default": "two" - }, - { - "type": "boolean" - } - ] - }, - "boolean_and_number_and_template": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - } - }, - "required": [ - "boolean", - "number", - "string", - "text", - "boolean_and_number_and_string", - "union_but_boolean", - "union_but_number", - "union_but_string", - "boolean_and_number_and_template" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "type": "string", - "pattern": "^(prefix_(.*))" - }, - { - "type": "number", - "default": 2 - }, - { - "type": "boolean" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "string", - "pattern": "^(prefix_(.*))" + "description": "@pattern ^(prefix_(.*))" }, { "type": "number", diff --git a/test/schemas/llm.schema/3.1/TypeTagFormat.json b/test/schemas/llm.schema/3.1/TypeTagFormat.json index 3822e1a6bd..3f2924005b 100644 --- a/test/schemas/llm.schema/3.1/TypeTagFormat.json +++ b/test/schemas/llm.schema/3.1/TypeTagFormat.json @@ -2,92 +2,92 @@ "type": "object", "properties": { "byte": { - "type": "string", - "format": "byte" + "description": "@format byte", + "type": "string" }, "password": { - "type": "string", - "format": "password" + "description": "@format password", + "type": "string" }, "regex": { - "type": "string", - "format": "regex" + "description": "@format regex", + "type": "string" }, "uuid": { - "type": "string", - "format": "uuid" + "description": "@format uuid", + "type": "string" }, "email": { - "type": "string", - "format": "email" + "description": "@format email", + "type": "string" }, "hostname": { - "type": "string", - "format": "hostname" + "description": "@format hostname", + "type": "string" }, "idnEmail": { - "type": "string", - "format": "idn-email" + "description": "@format idn-email", + "type": "string" }, "idnHostname": { - "type": "string", - "format": "idn-hostname" + "description": "@format idn-hostname", + "type": "string" }, "iri": { - "type": "string", - "format": "iri" + "description": "@format iri", + "type": "string" }, "iriReference": { - "type": "string", - "format": "iri-reference" + "description": "@format iri-reference", + "type": "string" }, "ipv4": { - "type": "string", - "format": "ipv4" + "description": "@format ipv4", + "type": "string" }, "ipv6": { - "type": "string", - "format": "ipv6" + "description": "@format ipv6", + "type": "string" }, "uri": { - "type": "string", - "format": "uri" + "description": "@format uri", + "type": "string" }, "uriReference": { - "type": "string", - "format": "uri-reference" + "description": "@format uri-reference", + "type": "string" }, "uriTemplate": { - "type": "string", - "format": "uri-template" + "description": "@format uri-template", + "type": "string" }, "url": { - "type": "string", - "format": "url" + "description": "@format url", + "type": "string" }, "datetime": { - "type": "string", - "format": "date-time" + "description": "@format date-time", + "type": "string" }, "date": { - "type": "string", - "format": "date" + "description": "@format date", + "type": "string" }, "time": { - "type": "string", - "format": "time" + "description": "@format time", + "type": "string" }, "duration": { - "type": "string", - "format": "duration" + "description": "@format duration", + "type": "string" }, "jsonPointer": { - "type": "string", - "format": "json-pointer" + "description": "@format json-pointer", + "type": "string" }, "relativeJsonPointer": { - "type": "string", - "format": "relative-json-pointer" + "description": "@format relative-json-pointer", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TypeTagLength.json b/test/schemas/llm.schema/3.1/TypeTagLength.json index 79018d4b80..0e4d254b05 100644 --- a/test/schemas/llm.schema/3.1/TypeTagLength.json +++ b/test/schemas/llm.schema/3.1/TypeTagLength.json @@ -7,27 +7,24 @@ "type": "object", "properties": { "fixed": { - "type": "string", - "minLength": 5, - "maxLength": 5 + "description": "@minLength 5\n@maxLength 5", + "type": "string" }, "minimum": { - "type": "string", - "minLength": 3 + "description": "@minLength 3", + "type": "string" }, "maximum": { - "type": "string", - "maxLength": 7 + "description": "@maxLength 7", + "type": "string" }, "minimum_and_maximum": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" }, "equal": { - "type": "string", - "minLength": 10, - "maxLength": 19 + "description": "@minLength 10\n@maxLength 19", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TypeTagMatrix.json b/test/schemas/llm.schema/3.1/TypeTagMatrix.json index 716980859a..5af79791ad 100644 --- a/test/schemas/llm.schema/3.1/TypeTagMatrix.json +++ b/test/schemas/llm.schema/3.1/TypeTagMatrix.json @@ -2,18 +2,16 @@ "type": "object", "properties": { "matrix": { + "description": "@minItems 3\n@maxItems 3", "type": "array", "items": { + "description": "@minItems 4\n@maxItems 4", "type": "array", "items": { - "type": "string", - "format": "uuid" - }, - "minItems": 4, - "maxItems": 4 - }, - "minItems": 3, - "maxItems": 3 + "description": "@format uuid", + "type": "string" + } + } } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TypeTagObjectUnion.json b/test/schemas/llm.schema/3.1/TypeTagObjectUnion.json index 8156c5aa41..cbabfd44b7 100644 --- a/test/schemas/llm.schema/3.1/TypeTagObjectUnion.json +++ b/test/schemas/llm.schema/3.1/TypeTagObjectUnion.json @@ -1,70 +1,13 @@ { "type": "array", "items": { - "components": { - "schemas": { - "TypeTagObjectUnion": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TypeTagObjectUnion.Type" - } - }, - "TypeTagObjectUnion.Type": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "TypeTagObjectUnion.Numeric": { - "type": "object", - "properties": { - "value": { - "type": "number", - "minimum": 3 - } - }, - "required": [ - "value" - ] - }, - "TypeTagObjectUnion.Literal": { - "type": "object", - "properties": { - "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 - } - }, - "required": [ - "value" - ] - } - } - }, - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Numeric" - }, - { - "$ref": "#/components/schemas/TypeTagObjectUnion.Literal" - } - ] - }, - "recursive": 3, - "visited": {}, "oneOf": [ { "type": "object", "properties": { "value": { - "type": "number", - "minimum": 3 + "description": "@minimum 3", + "type": "number" } }, "required": [ @@ -76,9 +19,8 @@ "type": "object", "properties": { "value": { - "type": "string", - "minLength": 3, - "maxLength": 7 + "description": "@minLength 3\n@maxLength 7", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TypeTagPattern.json b/test/schemas/llm.schema/3.1/TypeTagPattern.json index f1d194ec67..b70028d281 100644 --- a/test/schemas/llm.schema/3.1/TypeTagPattern.json +++ b/test/schemas/llm.schema/3.1/TypeTagPattern.json @@ -2,20 +2,20 @@ "type": "object", "properties": { "uuid": { - "type": "string", - "pattern": "^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$" + "description": "@pattern ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$", + "type": "string" }, "email": { - "type": "string", - "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" + "description": "@pattern ^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" }, "ipv4": { - "type": "string", - "pattern": "^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + "description": "@pattern ^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "type": "string" }, "ipv6": { - "type": "string", - "pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" + "description": "@pattern ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$", + "type": "string" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TypeTagRange.json b/test/schemas/llm.schema/3.1/TypeTagRange.json index f81fad64de..9d3a2711fc 100644 --- a/test/schemas/llm.schema/3.1/TypeTagRange.json +++ b/test/schemas/llm.schema/3.1/TypeTagRange.json @@ -7,51 +7,40 @@ "type": "object", "properties": { "greater": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3 + "description": "@minimum 3\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal": { - "type": "integer", - "minimum": 3 + "description": "@minimum 3", + "type": "integer" }, "less": { - "type": "integer", - "exclusiveMaximum": true, - "maximum": 7 + "description": "@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "less_equal": { - "type": "integer", - "maximum": 7 + "description": "@maximum 7", + "type": "integer" }, "greater_less": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true\n@exclusiveMaximum true", + "type": "integer" }, "greater_equal_less": { - "type": "integer", - "minimum": 3, - "exclusiveMaximum": true, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMaximum true", + "type": "integer" }, "greater_less_equal": { - "type": "integer", - "exclusiveMinimum": true, - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7\n@exclusiveMinimum true", + "type": "integer" }, "greater_equal_less_equal": { - "type": "integer", - "minimum": 3, - "maximum": 7 + "description": "@minimum 3\n@maximum 7", + "type": "integer" }, "equal": { - "type": "integer", - "minimum": 10, - "maximum": 10 + "description": "@minimum 10\n@maximum 10", + "type": "integer" } }, "required": [ diff --git a/test/schemas/llm.schema/3.1/TypeTagTuple.json b/test/schemas/llm.schema/3.1/TypeTagTuple.json deleted file mode 100644 index 6bedfcc72d..0000000000 --- a/test/schemas/llm.schema/3.1/TypeTagTuple.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "type": "object", - "properties": { - "tuple": { - "type": "array", - "prefixItems": [ - { - "type": "string", - "minLength": 3, - "maxLength": 7 - }, - { - "type": "number", - "minimum": 3, - "maximum": 7 - }, - { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 2 - }, - "minItems": 3, - "maxItems": 7 - }, - { - "type": "array", - "items": { - "type": "number", - "minimum": 1, - "maximum": 2 - }, - "minItems": 3, - "maxItems": 7 - } - ], - "additionalItems": false - } - }, - "required": [ - "tuple" - ], - "additionalProperties": false -} \ No newline at end of file diff --git a/test/src/debug/llm.schema.ts b/test/src/debug/llm.schema.ts index d8977acf5e..79aa1ab426 100644 --- a/test/src/debug/llm.schema.ts +++ b/test/src/debug/llm.schema.ts @@ -1,22 +1,6 @@ -import { IChatGptSchema } from "@samchon/openapi"; import typia from "typia"; -interface ICategory { - id: string; - code: string; - name: string; - children: ICategory[]; -} +import { ArrayRecursive } from "../structures/ArrayRecursive"; -const $defs: Record = {}; -const schema: IChatGptSchema = typia.llm.schema($defs); -console.log( - JSON.stringify( - { - $defs, - schema, - }, - null, - 2, - ), -); +const schema = typia.llm.schema({}); +console.log(schema); diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ArrayAtomicAlias.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ArrayAtomicAlias.ts deleted file mode 100644 index 764623ec01..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ArrayAtomicAlias.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ArrayAtomicAlias } from "../../../structures/ArrayAtomicAlias"; - -export const test_llm_application_3_0_ArrayAtomicAlias = _test_llm_application({ - model: "3.0", - name: "ArrayAtomicAlias", -})(typia.llm.application()); - -interface ArrayAtomicAliasApplication { - insert(first: ArrayAtomicAlias): Promise; - reduce( - first: ArrayAtomicAlias, - second: ArrayAtomicAlias | null, - ): Promise; - coalesce( - first: ArrayAtomicAlias | null, - second: ArrayAtomicAlias | null, - third?: ArrayAtomicAlias | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ArrayAtomicSimple.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ArrayAtomicSimple.ts deleted file mode 100644 index e007df3e01..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ArrayAtomicSimple.ts +++ /dev/null @@ -1,24 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ArrayAtomicSimple } from "../../../structures/ArrayAtomicSimple"; - -export const test_llm_application_3_0_ArrayAtomicSimple = _test_llm_application( - { - model: "3.0", - name: "ArrayAtomicSimple", - }, -)(typia.llm.application()); - -interface ArrayAtomicSimpleApplication { - insert(first: ArrayAtomicSimple): Promise; - reduce( - first: ArrayAtomicSimple, - second: ArrayAtomicSimple | null, - ): Promise; - coalesce( - first: ArrayAtomicSimple | null, - second: ArrayAtomicSimple | null, - third?: ArrayAtomicSimple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ArrayRepeatedUnionWithTuple.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ArrayRepeatedUnionWithTuple.ts deleted file mode 100644 index fea638f147..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ArrayRepeatedUnionWithTuple.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ArrayRepeatedUnionWithTuple } from "../../../structures/ArrayRepeatedUnionWithTuple"; - -export const test_llm_application_3_0_ArrayRepeatedUnionWithTuple = - _test_llm_application({ - model: "3.0", - name: "ArrayRepeatedUnionWithTuple", - })(typia.llm.application()); - -interface ArrayRepeatedUnionWithTupleApplication { - insert(first: ArrayRepeatedUnionWithTuple): Promise; - reduce( - first: ArrayRepeatedUnionWithTuple, - second: ArrayRepeatedUnionWithTuple | null, - ): Promise; - coalesce( - first: ArrayRepeatedUnionWithTuple | null, - second: ArrayRepeatedUnionWithTuple | null, - third?: ArrayRepeatedUnionWithTuple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicAlias.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicAlias.ts deleted file mode 100644 index db34be2117..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicAlias.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { AtomicAlias } from "../../../structures/AtomicAlias"; - -export const test_llm_application_3_0_AtomicAlias = _test_llm_application({ - model: "3.0", - name: "AtomicAlias", -})(typia.llm.application()); - -interface AtomicAliasApplication { - insert(first: AtomicAlias): Promise; - reduce(first: AtomicAlias, second: AtomicAlias | null): Promise; - coalesce( - first: AtomicAlias | null, - second: AtomicAlias | null, - third?: AtomicAlias | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicClass.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicClass.ts deleted file mode 100644 index 70f4ef0987..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicClass.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { AtomicClass } from "../../../structures/AtomicClass"; - -export const test_llm_application_3_0_AtomicClass = _test_llm_application({ - model: "3.0", - name: "AtomicClass", -})(typia.llm.application()); - -interface AtomicClassApplication { - insert(first: AtomicClass): Promise; - reduce(first: AtomicClass, second: AtomicClass | null): Promise; - coalesce( - first: AtomicClass | null, - second: AtomicClass | null, - third?: AtomicClass | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicIntersection.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicIntersection.ts deleted file mode 100644 index 7fbcca96f2..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicIntersection.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { AtomicIntersection } from "../../../structures/AtomicIntersection"; - -export const test_llm_application_3_0_AtomicIntersection = - _test_llm_application({ - model: "3.0", - name: "AtomicIntersection", - })(typia.llm.application()); - -interface AtomicIntersectionApplication { - insert(first: AtomicIntersection): Promise; - reduce( - first: AtomicIntersection, - second: AtomicIntersection | null, - ): Promise; - coalesce( - first: AtomicIntersection | null, - second: AtomicIntersection | null, - third?: AtomicIntersection | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicSimple.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicSimple.ts deleted file mode 100644 index d512dc2adb..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_AtomicSimple.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { AtomicSimple } from "../../../structures/AtomicSimple"; - -export const test_llm_application_3_0_AtomicSimple = _test_llm_application({ - model: "3.0", - name: "AtomicSimple", -})(typia.llm.application()); - -interface AtomicSimpleApplication { - insert(first: AtomicSimple): Promise; - reduce( - first: AtomicSimple, - second: AtomicSimple | null, - ): Promise; - coalesce( - first: AtomicSimple | null, - second: AtomicSimple | null, - third?: AtomicSimple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ConstantAtomicSimple.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ConstantAtomicSimple.ts deleted file mode 100644 index 73609f03b6..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ConstantAtomicSimple.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ConstantAtomicSimple } from "../../../structures/ConstantAtomicSimple"; - -export const test_llm_application_3_0_ConstantAtomicSimple = - _test_llm_application({ - model: "3.0", - name: "ConstantAtomicSimple", - })(typia.llm.application()); - -interface ConstantAtomicSimpleApplication { - insert(first: ConstantAtomicSimple): Promise; - reduce( - first: ConstantAtomicSimple, - second: ConstantAtomicSimple | null, - ): Promise; - coalesce( - first: ConstantAtomicSimple | null, - second: ConstantAtomicSimple | null, - third?: ConstantAtomicSimple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ConstantAtomicWrapper.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ConstantAtomicWrapper.ts deleted file mode 100644 index 8c5dcce140..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ConstantAtomicWrapper.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ConstantAtomicWrapper } from "../../../structures/ConstantAtomicWrapper"; - -export const test_llm_application_3_0_ConstantAtomicWrapper = - _test_llm_application({ - model: "3.0", - name: "ConstantAtomicWrapper", - })(typia.llm.application()); - -interface ConstantAtomicWrapperApplication { - insert(first: ConstantAtomicWrapper): Promise; - reduce( - first: ConstantAtomicWrapper, - second: ConstantAtomicWrapper | null, - ): Promise; - coalesce( - first: ConstantAtomicWrapper | null, - second: ConstantAtomicWrapper | null, - third?: ConstantAtomicWrapper | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ConstantIntersection.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ConstantIntersection.ts deleted file mode 100644 index aa5774b535..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ConstantIntersection.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ConstantIntersection } from "../../../structures/ConstantIntersection"; - -export const test_llm_application_3_0_ConstantIntersection = - _test_llm_application({ - model: "3.0", - name: "ConstantIntersection", - })(typia.llm.application()); - -interface ConstantIntersectionApplication { - insert(first: ConstantIntersection): Promise; - reduce( - first: ConstantIntersection, - second: ConstantIntersection | null, - ): Promise; - coalesce( - first: ConstantIntersection | null, - second: ConstantIntersection | null, - third?: ConstantIntersection | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectGeneric.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectGeneric.ts deleted file mode 100644 index 1ff6511375..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectGeneric.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ObjectGeneric } from "../../../structures/ObjectGeneric"; - -export const test_llm_application_3_0_ObjectGeneric = _test_llm_application({ - model: "3.0", - name: "ObjectGeneric", -})(typia.llm.application()); - -interface ObjectGenericApplication { - insert(first: ObjectGeneric): Promise; - reduce( - first: ObjectGeneric, - second: ObjectGeneric | null, - ): Promise; - coalesce( - first: ObjectGeneric | null, - second: ObjectGeneric | null, - third?: ObjectGeneric | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectHierarchical.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectHierarchical.ts deleted file mode 100644 index fb4925eeef..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectHierarchical.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ObjectHierarchical } from "../../../structures/ObjectHierarchical"; - -export const test_llm_application_3_0_ObjectHierarchical = - _test_llm_application({ - model: "3.0", - name: "ObjectHierarchical", - })(typia.llm.application()); - -interface ObjectHierarchicalApplication { - insert(first: ObjectHierarchical): Promise; - reduce( - first: ObjectHierarchical, - second: ObjectHierarchical | null, - ): Promise; - coalesce( - first: ObjectHierarchical | null, - second: ObjectHierarchical | null, - third?: ObjectHierarchical | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectPropertyNullable.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectPropertyNullable.ts deleted file mode 100644 index ee5ab8a126..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectPropertyNullable.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ObjectPropertyNullable } from "../../../structures/ObjectPropertyNullable"; - -export const test_llm_application_3_0_ObjectPropertyNullable = - _test_llm_application({ - model: "3.0", - name: "ObjectPropertyNullable", - })(typia.llm.application()); - -interface ObjectPropertyNullableApplication { - insert(first: ObjectPropertyNullable): Promise; - reduce( - first: ObjectPropertyNullable, - second: ObjectPropertyNullable | null, - ): Promise; - coalesce( - first: ObjectPropertyNullable | null, - second: ObjectPropertyNullable | null, - third?: ObjectPropertyNullable | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectTuple.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectTuple.ts deleted file mode 100644 index 4320e40c8f..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ObjectTuple.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ObjectTuple } from "../../../structures/ObjectTuple"; - -export const test_llm_application_3_0_ObjectTuple = _test_llm_application({ - model: "3.0", - name: "ObjectTuple", -})(typia.llm.application()); - -interface ObjectTupleApplication { - insert(first: ObjectTuple): Promise; - reduce(first: ObjectTuple, second: ObjectTuple | null): Promise; - coalesce( - first: ObjectTuple | null, - second: ObjectTuple | null, - third?: ObjectTuple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ToJsonArray.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ToJsonArray.ts deleted file mode 100644 index fc79e0f073..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ToJsonArray.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ToJsonArray } from "../../../structures/ToJsonArray"; - -export const test_llm_application_3_0_ToJsonArray = _test_llm_application({ - model: "3.0", - name: "ToJsonArray", -})(typia.llm.application()); - -interface ToJsonArrayApplication { - insert(first: ToJsonArray): Promise; - reduce(first: ToJsonArray, second: ToJsonArray | null): Promise; - coalesce( - first: ToJsonArray | null, - second: ToJsonArray | null, - third?: ToJsonArray | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ToJsonAtomicSimple.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ToJsonAtomicSimple.ts deleted file mode 100644 index d0c9158d05..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ToJsonAtomicSimple.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ToJsonAtomicSimple } from "../../../structures/ToJsonAtomicSimple"; - -export const test_llm_application_3_0_ToJsonAtomicSimple = - _test_llm_application({ - model: "3.0", - name: "ToJsonAtomicSimple", - })(typia.llm.application()); - -interface ToJsonAtomicSimpleApplication { - insert(first: ToJsonAtomicSimple): Promise; - reduce( - first: ToJsonAtomicSimple, - second: ToJsonAtomicSimple | null, - ): Promise; - coalesce( - first: ToJsonAtomicSimple | null, - second: ToJsonAtomicSimple | null, - third?: ToJsonAtomicSimple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_ToJsonTuple.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_ToJsonTuple.ts deleted file mode 100644 index d38c5e3d1d..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_ToJsonTuple.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ToJsonTuple } from "../../../structures/ToJsonTuple"; - -export const test_llm_application_3_0_ToJsonTuple = _test_llm_application({ - model: "3.0", - name: "ToJsonTuple", -})(typia.llm.application()); - -interface ToJsonTupleApplication { - insert(first: ToJsonTuple): Promise; - reduce(first: ToJsonTuple, second: ToJsonTuple | null): Promise; - coalesce( - first: ToJsonTuple | null, - second: ToJsonTuple | null, - third?: ToJsonTuple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleHierarchical.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleHierarchical.ts deleted file mode 100644 index 0e26ee1458..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleHierarchical.ts +++ /dev/null @@ -1,24 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TupleHierarchical } from "../../../structures/TupleHierarchical"; - -export const test_llm_application_3_0_TupleHierarchical = _test_llm_application( - { - model: "3.0", - name: "TupleHierarchical", - }, -)(typia.llm.application()); - -interface TupleHierarchicalApplication { - insert(first: TupleHierarchical): Promise; - reduce( - first: TupleHierarchical, - second: TupleHierarchical | null, - ): Promise; - coalesce( - first: TupleHierarchical | null, - second: TupleHierarchical | null, - third?: TupleHierarchical | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleRestArray.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleRestArray.ts deleted file mode 100644 index 7a4e798343..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleRestArray.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TupleRestArray } from "../../../structures/TupleRestArray"; - -export const test_llm_application_3_0_TupleRestArray = _test_llm_application({ - model: "3.0", - name: "TupleRestArray", -})(typia.llm.application()); - -interface TupleRestArrayApplication { - insert(first: TupleRestArray): Promise; - reduce( - first: TupleRestArray, - second: TupleRestArray | null, - ): Promise; - coalesce( - first: TupleRestArray | null, - second: TupleRestArray | null, - third?: TupleRestArray | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleRestAtomic.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleRestAtomic.ts deleted file mode 100644 index ab80f4a0bf..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleRestAtomic.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TupleRestAtomic } from "../../../structures/TupleRestAtomic"; - -export const test_llm_application_3_0_TupleRestAtomic = _test_llm_application({ - model: "3.0", - name: "TupleRestAtomic", -})(typia.llm.application()); - -interface TupleRestAtomicApplication { - insert(first: TupleRestAtomic): Promise; - reduce( - first: TupleRestAtomic, - second: TupleRestAtomic | null, - ): Promise; - coalesce( - first: TupleRestAtomic | null, - second: TupleRestAtomic | null, - third?: TupleRestAtomic | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleRestObject.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleRestObject.ts deleted file mode 100644 index 334c0e2555..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_TupleRestObject.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TupleRestObject } from "../../../structures/TupleRestObject"; - -export const test_llm_application_3_0_TupleRestObject = _test_llm_application({ - model: "3.0", - name: "TupleRestObject", -})(typia.llm.application()); - -interface TupleRestObjectApplication { - insert(first: TupleRestObject): Promise; - reduce( - first: TupleRestObject, - second: TupleRestObject | null, - ): Promise; - coalesce( - first: TupleRestObject | null, - second: TupleRestObject | null, - third?: TupleRestObject | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.0/test_llm_application_3_0_TypeTagTuple.ts b/test/src/features/llm.application/3.0/test_llm_application_3_0_TypeTagTuple.ts deleted file mode 100644 index d4a84c795c..0000000000 --- a/test/src/features/llm.application/3.0/test_llm_application_3_0_TypeTagTuple.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TypeTagTuple } from "../../../structures/TypeTagTuple"; - -export const test_llm_application_3_0_TypeTagTuple = _test_llm_application({ - model: "3.0", - name: "TypeTagTuple", -})(typia.llm.application()); - -interface TypeTagTupleApplication { - insert(first: TypeTagTuple): Promise; - reduce( - first: TypeTagTuple, - second: TypeTagTuple | null, - ): Promise; - coalesce( - first: TypeTagTuple | null, - second: TypeTagTuple | null, - third?: TypeTagTuple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ArrayAtomicAlias.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ArrayAtomicAlias.ts deleted file mode 100644 index a6b58b8d2d..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ArrayAtomicAlias.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ArrayAtomicAlias } from "../../../structures/ArrayAtomicAlias"; - -export const test_llm_application_3_1_ArrayAtomicAlias = _test_llm_application({ - model: "3.1", - name: "ArrayAtomicAlias", -})(typia.llm.application()); - -interface ArrayAtomicAliasApplication { - insert(first: ArrayAtomicAlias): Promise; - reduce( - first: ArrayAtomicAlias, - second: ArrayAtomicAlias | null, - ): Promise; - coalesce( - first: ArrayAtomicAlias | null, - second: ArrayAtomicAlias | null, - third?: ArrayAtomicAlias | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ArrayAtomicSimple.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ArrayAtomicSimple.ts deleted file mode 100644 index e392d388ee..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ArrayAtomicSimple.ts +++ /dev/null @@ -1,24 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ArrayAtomicSimple } from "../../../structures/ArrayAtomicSimple"; - -export const test_llm_application_3_1_ArrayAtomicSimple = _test_llm_application( - { - model: "3.1", - name: "ArrayAtomicSimple", - }, -)(typia.llm.application()); - -interface ArrayAtomicSimpleApplication { - insert(first: ArrayAtomicSimple): Promise; - reduce( - first: ArrayAtomicSimple, - second: ArrayAtomicSimple | null, - ): Promise; - coalesce( - first: ArrayAtomicSimple | null, - second: ArrayAtomicSimple | null, - third?: ArrayAtomicSimple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ArrayRepeatedUnionWithTuple.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ArrayRepeatedUnionWithTuple.ts deleted file mode 100644 index a1807ae62b..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ArrayRepeatedUnionWithTuple.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ArrayRepeatedUnionWithTuple } from "../../../structures/ArrayRepeatedUnionWithTuple"; - -export const test_llm_application_3_1_ArrayRepeatedUnionWithTuple = - _test_llm_application({ - model: "3.1", - name: "ArrayRepeatedUnionWithTuple", - })(typia.llm.application()); - -interface ArrayRepeatedUnionWithTupleApplication { - insert(first: ArrayRepeatedUnionWithTuple): Promise; - reduce( - first: ArrayRepeatedUnionWithTuple, - second: ArrayRepeatedUnionWithTuple | null, - ): Promise; - coalesce( - first: ArrayRepeatedUnionWithTuple | null, - second: ArrayRepeatedUnionWithTuple | null, - third?: ArrayRepeatedUnionWithTuple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicAlias.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicAlias.ts deleted file mode 100644 index 96e35b28c1..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicAlias.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { AtomicAlias } from "../../../structures/AtomicAlias"; - -export const test_llm_application_3_1_AtomicAlias = _test_llm_application({ - model: "3.1", - name: "AtomicAlias", -})(typia.llm.application()); - -interface AtomicAliasApplication { - insert(first: AtomicAlias): Promise; - reduce(first: AtomicAlias, second: AtomicAlias | null): Promise; - coalesce( - first: AtomicAlias | null, - second: AtomicAlias | null, - third?: AtomicAlias | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicClass.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicClass.ts deleted file mode 100644 index e356047351..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicClass.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { AtomicClass } from "../../../structures/AtomicClass"; - -export const test_llm_application_3_1_AtomicClass = _test_llm_application({ - model: "3.1", - name: "AtomicClass", -})(typia.llm.application()); - -interface AtomicClassApplication { - insert(first: AtomicClass): Promise; - reduce(first: AtomicClass, second: AtomicClass | null): Promise; - coalesce( - first: AtomicClass | null, - second: AtomicClass | null, - third?: AtomicClass | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicIntersection.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicIntersection.ts deleted file mode 100644 index 75c32dca9a..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicIntersection.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { AtomicIntersection } from "../../../structures/AtomicIntersection"; - -export const test_llm_application_3_1_AtomicIntersection = - _test_llm_application({ - model: "3.1", - name: "AtomicIntersection", - })(typia.llm.application()); - -interface AtomicIntersectionApplication { - insert(first: AtomicIntersection): Promise; - reduce( - first: AtomicIntersection, - second: AtomicIntersection | null, - ): Promise; - coalesce( - first: AtomicIntersection | null, - second: AtomicIntersection | null, - third?: AtomicIntersection | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicSimple.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicSimple.ts deleted file mode 100644 index c383c34789..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_AtomicSimple.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { AtomicSimple } from "../../../structures/AtomicSimple"; - -export const test_llm_application_3_1_AtomicSimple = _test_llm_application({ - model: "3.1", - name: "AtomicSimple", -})(typia.llm.application()); - -interface AtomicSimpleApplication { - insert(first: AtomicSimple): Promise; - reduce( - first: AtomicSimple, - second: AtomicSimple | null, - ): Promise; - coalesce( - first: AtomicSimple | null, - second: AtomicSimple | null, - third?: AtomicSimple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ConstantAtomicSimple.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ConstantAtomicSimple.ts deleted file mode 100644 index 23108e2c39..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ConstantAtomicSimple.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ConstantAtomicSimple } from "../../../structures/ConstantAtomicSimple"; - -export const test_llm_application_3_1_ConstantAtomicSimple = - _test_llm_application({ - model: "3.1", - name: "ConstantAtomicSimple", - })(typia.llm.application()); - -interface ConstantAtomicSimpleApplication { - insert(first: ConstantAtomicSimple): Promise; - reduce( - first: ConstantAtomicSimple, - second: ConstantAtomicSimple | null, - ): Promise; - coalesce( - first: ConstantAtomicSimple | null, - second: ConstantAtomicSimple | null, - third?: ConstantAtomicSimple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ConstantAtomicWrapper.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ConstantAtomicWrapper.ts deleted file mode 100644 index 194ee25271..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ConstantAtomicWrapper.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ConstantAtomicWrapper } from "../../../structures/ConstantAtomicWrapper"; - -export const test_llm_application_3_1_ConstantAtomicWrapper = - _test_llm_application({ - model: "3.1", - name: "ConstantAtomicWrapper", - })(typia.llm.application()); - -interface ConstantAtomicWrapperApplication { - insert(first: ConstantAtomicWrapper): Promise; - reduce( - first: ConstantAtomicWrapper, - second: ConstantAtomicWrapper | null, - ): Promise; - coalesce( - first: ConstantAtomicWrapper | null, - second: ConstantAtomicWrapper | null, - third?: ConstantAtomicWrapper | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ConstantIntersection.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ConstantIntersection.ts deleted file mode 100644 index 084bed95c0..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ConstantIntersection.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ConstantIntersection } from "../../../structures/ConstantIntersection"; - -export const test_llm_application_3_1_ConstantIntersection = - _test_llm_application({ - model: "3.1", - name: "ConstantIntersection", - })(typia.llm.application()); - -interface ConstantIntersectionApplication { - insert(first: ConstantIntersection): Promise; - reduce( - first: ConstantIntersection, - second: ConstantIntersection | null, - ): Promise; - coalesce( - first: ConstantIntersection | null, - second: ConstantIntersection | null, - third?: ConstantIntersection | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectGeneric.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectGeneric.ts deleted file mode 100644 index a7b97c7b78..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectGeneric.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ObjectGeneric } from "../../../structures/ObjectGeneric"; - -export const test_llm_application_3_1_ObjectGeneric = _test_llm_application({ - model: "3.1", - name: "ObjectGeneric", -})(typia.llm.application()); - -interface ObjectGenericApplication { - insert(first: ObjectGeneric): Promise; - reduce( - first: ObjectGeneric, - second: ObjectGeneric | null, - ): Promise; - coalesce( - first: ObjectGeneric | null, - second: ObjectGeneric | null, - third?: ObjectGeneric | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectHierarchical.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectHierarchical.ts deleted file mode 100644 index 48f25309c9..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectHierarchical.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ObjectHierarchical } from "../../../structures/ObjectHierarchical"; - -export const test_llm_application_3_1_ObjectHierarchical = - _test_llm_application({ - model: "3.1", - name: "ObjectHierarchical", - })(typia.llm.application()); - -interface ObjectHierarchicalApplication { - insert(first: ObjectHierarchical): Promise; - reduce( - first: ObjectHierarchical, - second: ObjectHierarchical | null, - ): Promise; - coalesce( - first: ObjectHierarchical | null, - second: ObjectHierarchical | null, - third?: ObjectHierarchical | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectPropertyNullable.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectPropertyNullable.ts deleted file mode 100644 index d185502918..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectPropertyNullable.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ObjectPropertyNullable } from "../../../structures/ObjectPropertyNullable"; - -export const test_llm_application_3_1_ObjectPropertyNullable = - _test_llm_application({ - model: "3.1", - name: "ObjectPropertyNullable", - })(typia.llm.application()); - -interface ObjectPropertyNullableApplication { - insert(first: ObjectPropertyNullable): Promise; - reduce( - first: ObjectPropertyNullable, - second: ObjectPropertyNullable | null, - ): Promise; - coalesce( - first: ObjectPropertyNullable | null, - second: ObjectPropertyNullable | null, - third?: ObjectPropertyNullable | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectTuple.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectTuple.ts deleted file mode 100644 index 5ab2fccd7a..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ObjectTuple.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ObjectTuple } from "../../../structures/ObjectTuple"; - -export const test_llm_application_3_1_ObjectTuple = _test_llm_application({ - model: "3.1", - name: "ObjectTuple", -})(typia.llm.application()); - -interface ObjectTupleApplication { - insert(first: ObjectTuple): Promise; - reduce(first: ObjectTuple, second: ObjectTuple | null): Promise; - coalesce( - first: ObjectTuple | null, - second: ObjectTuple | null, - third?: ObjectTuple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ToJsonArray.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ToJsonArray.ts deleted file mode 100644 index cb2800b98b..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ToJsonArray.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ToJsonArray } from "../../../structures/ToJsonArray"; - -export const test_llm_application_3_1_ToJsonArray = _test_llm_application({ - model: "3.1", - name: "ToJsonArray", -})(typia.llm.application()); - -interface ToJsonArrayApplication { - insert(first: ToJsonArray): Promise; - reduce(first: ToJsonArray, second: ToJsonArray | null): Promise; - coalesce( - first: ToJsonArray | null, - second: ToJsonArray | null, - third?: ToJsonArray | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ToJsonAtomicSimple.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ToJsonAtomicSimple.ts deleted file mode 100644 index 9a948cbc9c..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ToJsonAtomicSimple.ts +++ /dev/null @@ -1,23 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ToJsonAtomicSimple } from "../../../structures/ToJsonAtomicSimple"; - -export const test_llm_application_3_1_ToJsonAtomicSimple = - _test_llm_application({ - model: "3.1", - name: "ToJsonAtomicSimple", - })(typia.llm.application()); - -interface ToJsonAtomicSimpleApplication { - insert(first: ToJsonAtomicSimple): Promise; - reduce( - first: ToJsonAtomicSimple, - second: ToJsonAtomicSimple | null, - ): Promise; - coalesce( - first: ToJsonAtomicSimple | null, - second: ToJsonAtomicSimple | null, - third?: ToJsonAtomicSimple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_ToJsonTuple.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_ToJsonTuple.ts deleted file mode 100644 index 2698a41cbf..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_ToJsonTuple.ts +++ /dev/null @@ -1,19 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { ToJsonTuple } from "../../../structures/ToJsonTuple"; - -export const test_llm_application_3_1_ToJsonTuple = _test_llm_application({ - model: "3.1", - name: "ToJsonTuple", -})(typia.llm.application()); - -interface ToJsonTupleApplication { - insert(first: ToJsonTuple): Promise; - reduce(first: ToJsonTuple, second: ToJsonTuple | null): Promise; - coalesce( - first: ToJsonTuple | null, - second: ToJsonTuple | null, - third?: ToJsonTuple | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleHierarchical.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleHierarchical.ts deleted file mode 100644 index 7832f8ec45..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleHierarchical.ts +++ /dev/null @@ -1,24 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TupleHierarchical } from "../../../structures/TupleHierarchical"; - -export const test_llm_application_3_1_TupleHierarchical = _test_llm_application( - { - model: "3.1", - name: "TupleHierarchical", - }, -)(typia.llm.application()); - -interface TupleHierarchicalApplication { - insert(first: TupleHierarchical): Promise; - reduce( - first: TupleHierarchical, - second: TupleHierarchical | null, - ): Promise; - coalesce( - first: TupleHierarchical | null, - second: TupleHierarchical | null, - third?: TupleHierarchical | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleRestArray.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleRestArray.ts deleted file mode 100644 index 2f1ecbdb3d..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleRestArray.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TupleRestArray } from "../../../structures/TupleRestArray"; - -export const test_llm_application_3_1_TupleRestArray = _test_llm_application({ - model: "3.1", - name: "TupleRestArray", -})(typia.llm.application()); - -interface TupleRestArrayApplication { - insert(first: TupleRestArray): Promise; - reduce( - first: TupleRestArray, - second: TupleRestArray | null, - ): Promise; - coalesce( - first: TupleRestArray | null, - second: TupleRestArray | null, - third?: TupleRestArray | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleRestAtomic.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleRestAtomic.ts deleted file mode 100644 index c92501672b..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleRestAtomic.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TupleRestAtomic } from "../../../structures/TupleRestAtomic"; - -export const test_llm_application_3_1_TupleRestAtomic = _test_llm_application({ - model: "3.1", - name: "TupleRestAtomic", -})(typia.llm.application()); - -interface TupleRestAtomicApplication { - insert(first: TupleRestAtomic): Promise; - reduce( - first: TupleRestAtomic, - second: TupleRestAtomic | null, - ): Promise; - coalesce( - first: TupleRestAtomic | null, - second: TupleRestAtomic | null, - third?: TupleRestAtomic | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleRestObject.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleRestObject.ts deleted file mode 100644 index cded6f6d58..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_TupleRestObject.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TupleRestObject } from "../../../structures/TupleRestObject"; - -export const test_llm_application_3_1_TupleRestObject = _test_llm_application({ - model: "3.1", - name: "TupleRestObject", -})(typia.llm.application()); - -interface TupleRestObjectApplication { - insert(first: TupleRestObject): Promise; - reduce( - first: TupleRestObject, - second: TupleRestObject | null, - ): Promise; - coalesce( - first: TupleRestObject | null, - second: TupleRestObject | null, - third?: TupleRestObject | null, - ): Promise; -} diff --git a/test/src/features/llm.application/3.1/test_llm_application_3_1_TypeTagTuple.ts b/test/src/features/llm.application/3.1/test_llm_application_3_1_TypeTagTuple.ts deleted file mode 100644 index 5ad4a10696..0000000000 --- a/test/src/features/llm.application/3.1/test_llm_application_3_1_TypeTagTuple.ts +++ /dev/null @@ -1,22 +0,0 @@ -import typia from "typia"; - -import { _test_llm_application } from "../../../internal/_test_llm_application"; -import { TypeTagTuple } from "../../../structures/TypeTagTuple"; - -export const test_llm_application_3_1_TypeTagTuple = _test_llm_application({ - model: "3.1", - name: "TypeTagTuple", -})(typia.llm.application()); - -interface TypeTagTupleApplication { - insert(first: TypeTagTuple): Promise; - reduce( - first: TypeTagTuple, - second: TypeTagTuple | null, - ): Promise; - coalesce( - first: TypeTagTuple | null, - second: TypeTagTuple | null, - third?: TypeTagTuple | null, - ): Promise; -} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayAny.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayAny.ts new file mode 100644 index 0000000000..50618128aa --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayAny.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayAny } from "../../../structures/ArrayAny"; + +export const test_llm_parameters_3_0_ArrayAny = _test_llm_parameters({ + model: "3.0", + name: "ArrayAny", +})(typia.llm.parameters()); + +interface ArrayAnyParameters { + regular: ArrayAny; + nullable: ArrayAny | null; + optional: ArrayAny | undefined; + faint: ArrayAny | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayHierarchical.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayHierarchical.ts new file mode 100644 index 0000000000..b5f167212a --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayHierarchical.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayHierarchical } from "../../../structures/ArrayHierarchical"; + +export const test_llm_parameters_3_0_ArrayHierarchical = _test_llm_parameters({ + model: "3.0", + name: "ArrayHierarchical", +})(typia.llm.parameters()); + +interface ArrayHierarchicalParameters { + regular: ArrayHierarchical; + nullable: ArrayHierarchical | null; + optional: ArrayHierarchical | undefined; + faint: ArrayHierarchical | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayHierarchicalPointer.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayHierarchicalPointer.ts new file mode 100644 index 0000000000..6aa41d095c --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayHierarchicalPointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayHierarchicalPointer } from "../../../structures/ArrayHierarchicalPointer"; + +export const test_llm_parameters_3_0_ArrayHierarchicalPointer = + _test_llm_parameters({ + model: "3.0", + name: "ArrayHierarchicalPointer", + })(typia.llm.parameters()); + +interface ArrayHierarchicalPointerParameters { + regular: ArrayHierarchicalPointer; + nullable: ArrayHierarchicalPointer | null; + optional: ArrayHierarchicalPointer | undefined; + faint: ArrayHierarchicalPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayMatrix.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayMatrix.ts new file mode 100644 index 0000000000..ea55d5d971 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayMatrix.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayMatrix } from "../../../structures/ArrayMatrix"; + +export const test_llm_parameters_3_0_ArrayMatrix = _test_llm_parameters({ + model: "3.0", + name: "ArrayMatrix", +})(typia.llm.parameters()); + +interface ArrayMatrixParameters { + regular: ArrayMatrix; + nullable: ArrayMatrix | null; + optional: ArrayMatrix | undefined; + faint: ArrayMatrix | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursive.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursive.ts new file mode 100644 index 0000000000..fc8b1898c5 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursive } from "../../../structures/ArrayRecursive"; + +export const test_llm_parameters_3_0_ArrayRecursive = _test_llm_parameters({ + model: "3.0", + name: "ArrayRecursive", +})(typia.llm.parameters()); + +interface ArrayRecursiveParameters { + regular: ArrayRecursive; + nullable: ArrayRecursive | null; + optional: ArrayRecursive | undefined; + faint: ArrayRecursive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursiveUnionExplicit.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursiveUnionExplicit.ts new file mode 100644 index 0000000000..e46d228063 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursiveUnionExplicit.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursiveUnionExplicit } from "../../../structures/ArrayRecursiveUnionExplicit"; + +export const test_llm_parameters_3_0_ArrayRecursiveUnionExplicit = + _test_llm_parameters({ + model: "3.0", + name: "ArrayRecursiveUnionExplicit", + })(typia.llm.parameters()); + +interface ArrayRecursiveUnionExplicitParameters { + regular: ArrayRecursiveUnionExplicit; + nullable: ArrayRecursiveUnionExplicit | null; + optional: ArrayRecursiveUnionExplicit | undefined; + faint: ArrayRecursiveUnionExplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursiveUnionExplicitPointer.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursiveUnionExplicitPointer.ts new file mode 100644 index 0000000000..5a8c83583c --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursiveUnionExplicitPointer.ts @@ -0,0 +1,20 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursiveUnionExplicitPointer } from "../../../structures/ArrayRecursiveUnionExplicitPointer"; + +export const test_llm_parameters_3_0_ArrayRecursiveUnionExplicitPointer = + _test_llm_parameters({ + model: "3.0", + name: "ArrayRecursiveUnionExplicitPointer", + })( + typia.llm.parameters(), + ); + +interface ArrayRecursiveUnionExplicitPointerParameters { + regular: ArrayRecursiveUnionExplicitPointer; + nullable: ArrayRecursiveUnionExplicitPointer | null; + optional: ArrayRecursiveUnionExplicitPointer | undefined; + faint: ArrayRecursiveUnionExplicitPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursiveUnionImplicit.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursiveUnionImplicit.ts new file mode 100644 index 0000000000..7df4085c91 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRecursiveUnionImplicit.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursiveUnionImplicit } from "../../../structures/ArrayRecursiveUnionImplicit"; + +export const test_llm_parameters_3_0_ArrayRecursiveUnionImplicit = + _test_llm_parameters({ + model: "3.0", + name: "ArrayRecursiveUnionImplicit", + })(typia.llm.parameters()); + +interface ArrayRecursiveUnionImplicitParameters { + regular: ArrayRecursiveUnionImplicit; + nullable: ArrayRecursiveUnionImplicit | null; + optional: ArrayRecursiveUnionImplicit | undefined; + faint: ArrayRecursiveUnionImplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRepeatedNullable.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRepeatedNullable.ts new file mode 100644 index 0000000000..f0c761d36e --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRepeatedNullable.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRepeatedNullable } from "../../../structures/ArrayRepeatedNullable"; + +export const test_llm_parameters_3_0_ArrayRepeatedNullable = + _test_llm_parameters({ + model: "3.0", + name: "ArrayRepeatedNullable", + })(typia.llm.parameters()); + +interface ArrayRepeatedNullableParameters { + regular: ArrayRepeatedNullable; + nullable: ArrayRepeatedNullable | null; + optional: ArrayRepeatedNullable | undefined; + faint: ArrayRepeatedNullable | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRepeatedRequired.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRepeatedRequired.ts new file mode 100644 index 0000000000..0d3068e951 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRepeatedRequired.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRepeatedRequired } from "../../../structures/ArrayRepeatedRequired"; + +export const test_llm_parameters_3_0_ArrayRepeatedRequired = + _test_llm_parameters({ + model: "3.0", + name: "ArrayRepeatedRequired", + })(typia.llm.parameters()); + +interface ArrayRepeatedRequiredParameters { + regular: ArrayRepeatedRequired; + nullable: ArrayRepeatedRequired | null; + optional: ArrayRepeatedRequired | undefined; + faint: ArrayRepeatedRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRepeatedUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRepeatedUnion.ts new file mode 100644 index 0000000000..f61aea077a --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayRepeatedUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRepeatedUnion } from "../../../structures/ArrayRepeatedUnion"; + +export const test_llm_parameters_3_0_ArrayRepeatedUnion = _test_llm_parameters({ + model: "3.0", + name: "ArrayRepeatedUnion", +})(typia.llm.parameters()); + +interface ArrayRepeatedUnionParameters { + regular: ArrayRepeatedUnion; + nullable: ArrayRepeatedUnion | null; + optional: ArrayRepeatedUnion | undefined; + faint: ArrayRepeatedUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArraySimple.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArraySimple.ts new file mode 100644 index 0000000000..6e89f74f68 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArraySimple.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArraySimple } from "../../../structures/ArraySimple"; + +export const test_llm_parameters_3_0_ArraySimple = _test_llm_parameters({ + model: "3.0", + name: "ArraySimple", +})(typia.llm.parameters()); + +interface ArraySimpleParameters { + regular: ArraySimple; + nullable: ArraySimple | null; + optional: ArraySimple | undefined; + faint: ArraySimple | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayUnion.ts new file mode 100644 index 0000000000..2fa9aa5bd5 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ArrayUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayUnion } from "../../../structures/ArrayUnion"; + +export const test_llm_parameters_3_0_ArrayUnion = _test_llm_parameters({ + model: "3.0", + name: "ArrayUnion", +})(typia.llm.parameters()); + +interface ArrayUnionParameters { + regular: ArrayUnion; + nullable: ArrayUnion | null; + optional: ArrayUnion | undefined; + faint: ArrayUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_AtomicUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_AtomicUnion.ts new file mode 100644 index 0000000000..b991575c02 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_AtomicUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { AtomicUnion } from "../../../structures/AtomicUnion"; + +export const test_llm_parameters_3_0_AtomicUnion = _test_llm_parameters({ + model: "3.0", + name: "AtomicUnion", +})(typia.llm.parameters()); + +interface AtomicUnionParameters { + regular: AtomicUnion; + nullable: AtomicUnion | null; + optional: AtomicUnion | undefined; + faint: AtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ClassGetter.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ClassGetter.ts new file mode 100644 index 0000000000..0b4e77c75d --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ClassGetter.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassGetter } from "../../../structures/ClassGetter"; + +export const test_llm_parameters_3_0_ClassGetter = _test_llm_parameters({ + model: "3.0", + name: "ClassGetter", +})(typia.llm.parameters()); + +interface ClassGetterParameters { + regular: ClassGetter; + nullable: ClassGetter | null; + optional: ClassGetter | undefined; + faint: ClassGetter | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ClassMethod.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ClassMethod.ts new file mode 100644 index 0000000000..b375dbdb39 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ClassMethod.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassMethod } from "../../../structures/ClassMethod"; + +export const test_llm_parameters_3_0_ClassMethod = _test_llm_parameters({ + model: "3.0", + name: "ClassMethod", +})(typia.llm.parameters()); + +interface ClassMethodParameters { + regular: ClassMethod; + nullable: ClassMethod | null; + optional: ClassMethod | undefined; + faint: ClassMethod | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ClassPropertyAssignment.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ClassPropertyAssignment.ts new file mode 100644 index 0000000000..25a2ac1a88 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ClassPropertyAssignment.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassPropertyAssignment } from "../../../structures/ClassPropertyAssignment"; + +export const test_llm_parameters_3_0_ClassPropertyAssignment = + _test_llm_parameters({ + model: "3.0", + name: "ClassPropertyAssignment", + })(typia.llm.parameters()); + +interface ClassPropertyAssignmentParameters { + regular: ClassPropertyAssignment; + nullable: ClassPropertyAssignment | null; + optional: ClassPropertyAssignment | undefined; + faint: ClassPropertyAssignment | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagArray.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagArray.ts new file mode 100644 index 0000000000..c7098cd4e9 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagArray.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagArray } from "../../../structures/CommentTagArray"; + +export const test_llm_parameters_3_0_CommentTagArray = _test_llm_parameters({ + model: "3.0", + name: "CommentTagArray", +})(typia.llm.parameters()); + +interface CommentTagArrayParameters { + regular: CommentTagArray; + nullable: CommentTagArray | null; + optional: CommentTagArray | undefined; + faint: CommentTagArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagArrayUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagArrayUnion.ts new file mode 100644 index 0000000000..56cb451685 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagArrayUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagArrayUnion } from "../../../structures/CommentTagArrayUnion"; + +export const test_llm_parameters_3_0_CommentTagArrayUnion = + _test_llm_parameters({ + model: "3.0", + name: "CommentTagArrayUnion", + })(typia.llm.parameters()); + +interface CommentTagArrayUnionParameters { + regular: CommentTagArrayUnion; + nullable: CommentTagArrayUnion | null; + optional: CommentTagArrayUnion | undefined; + faint: CommentTagArrayUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagAtomicUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagAtomicUnion.ts new file mode 100644 index 0000000000..00674398d3 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagAtomicUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagAtomicUnion } from "../../../structures/CommentTagAtomicUnion"; + +export const test_llm_parameters_3_0_CommentTagAtomicUnion = + _test_llm_parameters({ + model: "3.0", + name: "CommentTagAtomicUnion", + })(typia.llm.parameters()); + +interface CommentTagAtomicUnionParameters { + regular: CommentTagAtomicUnion; + nullable: CommentTagAtomicUnion | null; + optional: CommentTagAtomicUnion | undefined; + faint: CommentTagAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagDefault.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagDefault.ts new file mode 100644 index 0000000000..77faae789f --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagDefault.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagDefault } from "../../../structures/CommentTagDefault"; + +export const test_llm_parameters_3_0_CommentTagDefault = _test_llm_parameters({ + model: "3.0", + name: "CommentTagDefault", +})(typia.llm.parameters()); + +interface CommentTagDefaultParameters { + regular: CommentTagDefault; + nullable: CommentTagDefault | null; + optional: CommentTagDefault | undefined; + faint: CommentTagDefault | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagFormat.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagFormat.ts new file mode 100644 index 0000000000..3862f912e4 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagFormat.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagFormat } from "../../../structures/CommentTagFormat"; + +export const test_llm_parameters_3_0_CommentTagFormat = _test_llm_parameters({ + model: "3.0", + name: "CommentTagFormat", +})(typia.llm.parameters()); + +interface CommentTagFormatParameters { + regular: CommentTagFormat; + nullable: CommentTagFormat | null; + optional: CommentTagFormat | undefined; + faint: CommentTagFormat | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagLength.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagLength.ts new file mode 100644 index 0000000000..68992f5ae6 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagLength.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagLength } from "../../../structures/CommentTagLength"; + +export const test_llm_parameters_3_0_CommentTagLength = _test_llm_parameters({ + model: "3.0", + name: "CommentTagLength", +})(typia.llm.parameters()); + +interface CommentTagLengthParameters { + regular: CommentTagLength; + nullable: CommentTagLength | null; + optional: CommentTagLength | undefined; + faint: CommentTagLength | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagObjectUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagObjectUnion.ts new file mode 100644 index 0000000000..72d972e95c --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagObjectUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagObjectUnion } from "../../../structures/CommentTagObjectUnion"; + +export const test_llm_parameters_3_0_CommentTagObjectUnion = + _test_llm_parameters({ + model: "3.0", + name: "CommentTagObjectUnion", + })(typia.llm.parameters()); + +interface CommentTagObjectUnionParameters { + regular: CommentTagObjectUnion; + nullable: CommentTagObjectUnion | null; + optional: CommentTagObjectUnion | undefined; + faint: CommentTagObjectUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagPattern.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagPattern.ts new file mode 100644 index 0000000000..04202fad59 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagPattern.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagPattern } from "../../../structures/CommentTagPattern"; + +export const test_llm_parameters_3_0_CommentTagPattern = _test_llm_parameters({ + model: "3.0", + name: "CommentTagPattern", +})(typia.llm.parameters()); + +interface CommentTagPatternParameters { + regular: CommentTagPattern; + nullable: CommentTagPattern | null; + optional: CommentTagPattern | undefined; + faint: CommentTagPattern | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagRange.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagRange.ts new file mode 100644 index 0000000000..08f52f7faa --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagRange.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagRange } from "../../../structures/CommentTagRange"; + +export const test_llm_parameters_3_0_CommentTagRange = _test_llm_parameters({ + model: "3.0", + name: "CommentTagRange", +})(typia.llm.parameters()); + +interface CommentTagRangeParameters { + regular: CommentTagRange; + nullable: CommentTagRange | null; + optional: CommentTagRange | undefined; + faint: CommentTagRange | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagType.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagType.ts new file mode 100644 index 0000000000..3a957eaa11 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_CommentTagType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagType } from "../../../structures/CommentTagType"; + +export const test_llm_parameters_3_0_CommentTagType = _test_llm_parameters({ + model: "3.0", + name: "CommentTagType", +})(typia.llm.parameters()); + +interface CommentTagTypeParameters { + regular: CommentTagType; + nullable: CommentTagType | null; + optional: CommentTagType | undefined; + faint: CommentTagType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantAtomicAbsorbed.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantAtomicAbsorbed.ts new file mode 100644 index 0000000000..451360bd4b --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantAtomicAbsorbed.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicAbsorbed } from "../../../structures/ConstantAtomicAbsorbed"; + +export const test_llm_parameters_3_0_ConstantAtomicAbsorbed = + _test_llm_parameters({ + model: "3.0", + name: "ConstantAtomicAbsorbed", + })(typia.llm.parameters()); + +interface ConstantAtomicAbsorbedParameters { + regular: ConstantAtomicAbsorbed; + nullable: ConstantAtomicAbsorbed | null; + optional: ConstantAtomicAbsorbed | undefined; + faint: ConstantAtomicAbsorbed | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantAtomicTagged.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantAtomicTagged.ts new file mode 100644 index 0000000000..0f18f3d2f6 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantAtomicTagged.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicTagged } from "../../../structures/ConstantAtomicTagged"; + +export const test_llm_parameters_3_0_ConstantAtomicTagged = + _test_llm_parameters({ + model: "3.0", + name: "ConstantAtomicTagged", + })(typia.llm.parameters()); + +interface ConstantAtomicTaggedParameters { + regular: ConstantAtomicTagged; + nullable: ConstantAtomicTagged | null; + optional: ConstantAtomicTagged | undefined; + faint: ConstantAtomicTagged | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantAtomicUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantAtomicUnion.ts new file mode 100644 index 0000000000..bcf4453d22 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantAtomicUnion.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicUnion } from "../../../structures/ConstantAtomicUnion"; + +export const test_llm_parameters_3_0_ConstantAtomicUnion = _test_llm_parameters( + { + model: "3.0", + name: "ConstantAtomicUnion", + }, +)(typia.llm.parameters()); + +interface ConstantAtomicUnionParameters { + regular: ConstantAtomicUnion; + nullable: ConstantAtomicUnion | null; + optional: ConstantAtomicUnion | undefined; + faint: ConstantAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantConstEnumeration.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantConstEnumeration.ts new file mode 100644 index 0000000000..2317b55457 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantConstEnumeration.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantConstEnumeration } from "../../../structures/ConstantConstEnumeration"; + +export const test_llm_parameters_3_0_ConstantConstEnumeration = + _test_llm_parameters({ + model: "3.0", + name: "ConstantConstEnumeration", + })(typia.llm.parameters()); + +interface ConstantConstEnumerationParameters { + regular: ConstantConstEnumeration; + nullable: ConstantConstEnumeration | null; + optional: ConstantConstEnumeration | undefined; + faint: ConstantConstEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantEnumeration.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantEnumeration.ts new file mode 100644 index 0000000000..0925d40ccc --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ConstantEnumeration.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantEnumeration } from "../../../structures/ConstantEnumeration"; + +export const test_llm_parameters_3_0_ConstantEnumeration = _test_llm_parameters( + { + model: "3.0", + name: "ConstantEnumeration", + }, +)(typia.llm.parameters()); + +interface ConstantEnumerationParameters { + regular: ConstantEnumeration; + nullable: ConstantEnumeration | null; + optional: ConstantEnumeration | undefined; + faint: ConstantEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicConstant.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicConstant.ts new file mode 100644 index 0000000000..8926952c46 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicConstant.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicConstant } from "../../../structures/DynamicConstant"; + +export const test_llm_parameters_3_0_DynamicConstant = _test_llm_parameters({ + model: "3.0", + name: "DynamicConstant", +})(typia.llm.parameters()); + +interface DynamicConstantParameters { + regular: DynamicConstant; + nullable: DynamicConstant | null; + optional: DynamicConstant | undefined; + faint: DynamicConstant | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicEnumeration.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicEnumeration.ts new file mode 100644 index 0000000000..650ba75eeb --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicEnumeration.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicEnumeration } from "../../../structures/DynamicEnumeration"; + +export const test_llm_parameters_3_0_DynamicEnumeration = _test_llm_parameters({ + model: "3.0", + name: "DynamicEnumeration", +})(typia.llm.parameters()); + +interface DynamicEnumerationParameters { + regular: DynamicEnumeration; + nullable: DynamicEnumeration | null; + optional: DynamicEnumeration | undefined; + faint: DynamicEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicNever.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicNever.ts new file mode 100644 index 0000000000..4bc7637c38 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicNever.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicNever } from "../../../structures/DynamicNever"; + +export const test_llm_parameters_3_0_DynamicNever = _test_llm_parameters({ + model: "3.0", + name: "DynamicNever", +})(typia.llm.parameters()); + +interface DynamicNeverParameters { + regular: DynamicNever; + nullable: DynamicNever | null; + optional: DynamicNever | undefined; + faint: DynamicNever | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicUndefined.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicUndefined.ts new file mode 100644 index 0000000000..4fd84d4347 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_DynamicUndefined.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicUndefined } from "../../../structures/DynamicUndefined"; + +export const test_llm_parameters_3_0_DynamicUndefined = _test_llm_parameters({ + model: "3.0", + name: "DynamicUndefined", +})(typia.llm.parameters()); + +interface DynamicUndefinedParameters { + regular: DynamicUndefined; + nullable: DynamicUndefined | null; + optional: DynamicUndefined | undefined; + faint: DynamicUndefined | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectAlias.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectAlias.ts new file mode 100644 index 0000000000..7606bb390f --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectAlias.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectAlias } from "../../../structures/ObjectAlias"; + +export const test_llm_parameters_3_0_ObjectAlias = _test_llm_parameters({ + model: "3.0", + name: "ObjectAlias", +})(typia.llm.parameters()); + +interface ObjectAliasParameters { + regular: ObjectAlias; + nullable: ObjectAlias | null; + optional: ObjectAlias | undefined; + faint: ObjectAlias | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectDate.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectDate.ts new file mode 100644 index 0000000000..d804386c63 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectDate.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectDate } from "../../../structures/ObjectDate"; + +export const test_llm_parameters_3_0_ObjectDate = _test_llm_parameters({ + model: "3.0", + name: "ObjectDate", +})(typia.llm.parameters()); + +interface ObjectDateParameters { + regular: ObjectDate; + nullable: ObjectDate | null; + optional: ObjectDate | undefined; + faint: ObjectDate | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectDescription.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectDescription.ts new file mode 100644 index 0000000000..b2058f7c95 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectDescription.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectDescription } from "../../../structures/ObjectDescription"; + +export const test_llm_parameters_3_0_ObjectDescription = _test_llm_parameters({ + model: "3.0", + name: "ObjectDescription", +})(typia.llm.parameters()); + +interface ObjectDescriptionParameters { + regular: ObjectDescription; + nullable: ObjectDescription | null; + optional: ObjectDescription | undefined; + faint: ObjectDescription | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectGenericAlias.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectGenericAlias.ts new file mode 100644 index 0000000000..27c89b2439 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectGenericAlias.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericAlias } from "../../../structures/ObjectGenericAlias"; + +export const test_llm_parameters_3_0_ObjectGenericAlias = _test_llm_parameters({ + model: "3.0", + name: "ObjectGenericAlias", +})(typia.llm.parameters()); + +interface ObjectGenericAliasParameters { + regular: ObjectGenericAlias; + nullable: ObjectGenericAlias | null; + optional: ObjectGenericAlias | undefined; + faint: ObjectGenericAlias | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectGenericArray.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectGenericArray.ts new file mode 100644 index 0000000000..b0aa9e01da --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectGenericArray.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericArray } from "../../../structures/ObjectGenericArray"; + +export const test_llm_parameters_3_0_ObjectGenericArray = _test_llm_parameters({ + model: "3.0", + name: "ObjectGenericArray", +})(typia.llm.parameters()); + +interface ObjectGenericArrayParameters { + regular: ObjectGenericArray; + nullable: ObjectGenericArray | null; + optional: ObjectGenericArray | undefined; + faint: ObjectGenericArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectGenericUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectGenericUnion.ts new file mode 100644 index 0000000000..9d97abd1a3 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectGenericUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericUnion } from "../../../structures/ObjectGenericUnion"; + +export const test_llm_parameters_3_0_ObjectGenericUnion = _test_llm_parameters({ + model: "3.0", + name: "ObjectGenericUnion", +})(typia.llm.parameters()); + +interface ObjectGenericUnionParameters { + regular: ObjectGenericUnion; + nullable: ObjectGenericUnion | null; + optional: ObjectGenericUnion | undefined; + faint: ObjectGenericUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectInternal.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectInternal.ts new file mode 100644 index 0000000000..9a00cc9086 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectInternal.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectInternal } from "../../../structures/ObjectInternal"; + +export const test_llm_parameters_3_0_ObjectInternal = _test_llm_parameters({ + model: "3.0", + name: "ObjectInternal", +})(typia.llm.parameters()); + +interface ObjectInternalParameters { + regular: ObjectInternal; + nullable: ObjectInternal | null; + optional: ObjectInternal | undefined; + faint: ObjectInternal | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectIntersection.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectIntersection.ts new file mode 100644 index 0000000000..cc75434461 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectIntersection.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectIntersection } from "../../../structures/ObjectIntersection"; + +export const test_llm_parameters_3_0_ObjectIntersection = _test_llm_parameters({ + model: "3.0", + name: "ObjectIntersection", +})(typia.llm.parameters()); + +interface ObjectIntersectionParameters { + regular: ObjectIntersection; + nullable: ObjectIntersection | null; + optional: ObjectIntersection | undefined; + faint: ObjectIntersection | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectJsonTag.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectJsonTag.ts new file mode 100644 index 0000000000..59fb3c469e --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectJsonTag.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectJsonTag } from "../../../structures/ObjectJsonTag"; + +export const test_llm_parameters_3_0_ObjectJsonTag = _test_llm_parameters({ + model: "3.0", + name: "ObjectJsonTag", +})(typia.llm.parameters()); + +interface ObjectJsonTagParameters { + regular: ObjectJsonTag; + nullable: ObjectJsonTag | null; + optional: ObjectJsonTag | undefined; + faint: ObjectJsonTag | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectLiteralProperty.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectLiteralProperty.ts new file mode 100644 index 0000000000..ffb6b69911 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectLiteralProperty.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectLiteralProperty } from "../../../structures/ObjectLiteralProperty"; + +export const test_llm_parameters_3_0_ObjectLiteralProperty = + _test_llm_parameters({ + model: "3.0", + name: "ObjectLiteralProperty", + })(typia.llm.parameters()); + +interface ObjectLiteralPropertyParameters { + regular: ObjectLiteralProperty; + nullable: ObjectLiteralProperty | null; + optional: ObjectLiteralProperty | undefined; + faint: ObjectLiteralProperty | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectLiteralType.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectLiteralType.ts new file mode 100644 index 0000000000..ff319e4dc1 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectLiteralType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectLiteralType } from "../../../structures/ObjectLiteralType"; + +export const test_llm_parameters_3_0_ObjectLiteralType = _test_llm_parameters({ + model: "3.0", + name: "ObjectLiteralType", +})(typia.llm.parameters()); + +interface ObjectLiteralTypeParameters { + regular: ObjectLiteralType; + nullable: ObjectLiteralType | null; + optional: ObjectLiteralType | undefined; + faint: ObjectLiteralType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectNullable.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectNullable.ts new file mode 100644 index 0000000000..29ee5b53ca --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectNullable.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectNullable } from "../../../structures/ObjectNullable"; + +export const test_llm_parameters_3_0_ObjectNullable = _test_llm_parameters({ + model: "3.0", + name: "ObjectNullable", +})(typia.llm.parameters()); + +interface ObjectNullableParameters { + regular: ObjectNullable; + nullable: ObjectNullable | null; + optional: ObjectNullable | undefined; + faint: ObjectNullable | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectOptional.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectOptional.ts new file mode 100644 index 0000000000..b3af588639 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectOptional.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectOptional } from "../../../structures/ObjectOptional"; + +export const test_llm_parameters_3_0_ObjectOptional = _test_llm_parameters({ + model: "3.0", + name: "ObjectOptional", +})(typia.llm.parameters()); + +interface ObjectOptionalParameters { + regular: ObjectOptional; + nullable: ObjectOptional | null; + optional: ObjectOptional | undefined; + faint: ObjectOptional | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectPartial.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectPartial.ts new file mode 100644 index 0000000000..4986d25d6a --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectPartial.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPartial } from "../../../structures/ObjectPartial"; + +export const test_llm_parameters_3_0_ObjectPartial = _test_llm_parameters({ + model: "3.0", + name: "ObjectPartial", +})(typia.llm.parameters()); + +interface ObjectPartialParameters { + regular: ObjectPartial; + nullable: ObjectPartial | null; + optional: ObjectPartial | undefined; + faint: ObjectPartial | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectPartialAndRequired.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectPartialAndRequired.ts new file mode 100644 index 0000000000..f503261d2e --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectPartialAndRequired.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPartialAndRequired } from "../../../structures/ObjectPartialAndRequired"; + +export const test_llm_parameters_3_0_ObjectPartialAndRequired = + _test_llm_parameters({ + model: "3.0", + name: "ObjectPartialAndRequired", + })(typia.llm.parameters()); + +interface ObjectPartialAndRequiredParameters { + regular: ObjectPartialAndRequired; + nullable: ObjectPartialAndRequired | null; + optional: ObjectPartialAndRequired | undefined; + faint: ObjectPartialAndRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectPrimitive.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectPrimitive.ts new file mode 100644 index 0000000000..b0f212dde7 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectPrimitive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPrimitive } from "../../../structures/ObjectPrimitive"; + +export const test_llm_parameters_3_0_ObjectPrimitive = _test_llm_parameters({ + model: "3.0", + name: "ObjectPrimitive", +})(typia.llm.parameters()); + +interface ObjectPrimitiveParameters { + regular: ObjectPrimitive; + nullable: ObjectPrimitive | null; + optional: ObjectPrimitive | undefined; + faint: ObjectPrimitive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectRecursive.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectRecursive.ts new file mode 100644 index 0000000000..646f4f1a9f --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectRecursive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectRecursive } from "../../../structures/ObjectRecursive"; + +export const test_llm_parameters_3_0_ObjectRecursive = _test_llm_parameters({ + model: "3.0", + name: "ObjectRecursive", +})(typia.llm.parameters()); + +interface ObjectRecursiveParameters { + regular: ObjectRecursive; + nullable: ObjectRecursive | null; + optional: ObjectRecursive | undefined; + faint: ObjectRecursive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectRequired.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectRequired.ts new file mode 100644 index 0000000000..473deb4b01 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectRequired.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectRequired } from "../../../structures/ObjectRequired"; + +export const test_llm_parameters_3_0_ObjectRequired = _test_llm_parameters({ + model: "3.0", + name: "ObjectRequired", +})(typia.llm.parameters()); + +interface ObjectRequiredParameters { + regular: ObjectRequired; + nullable: ObjectRequired | null; + optional: ObjectRequired | undefined; + faint: ObjectRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectSimple.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectSimple.ts new file mode 100644 index 0000000000..0915f9fae0 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectSimple.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectSimple } from "../../../structures/ObjectSimple"; + +export const test_llm_parameters_3_0_ObjectSimple = _test_llm_parameters({ + model: "3.0", + name: "ObjectSimple", +})(typia.llm.parameters()); + +interface ObjectSimpleParameters { + regular: ObjectSimple; + nullable: ObjectSimple | null; + optional: ObjectSimple | undefined; + faint: ObjectSimple | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUndefined.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUndefined.ts new file mode 100644 index 0000000000..cc343e13e6 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUndefined.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUndefined } from "../../../structures/ObjectUndefined"; + +export const test_llm_parameters_3_0_ObjectUndefined = _test_llm_parameters({ + model: "3.0", + name: "ObjectUndefined", +})(typia.llm.parameters()); + +interface ObjectUndefinedParameters { + regular: ObjectUndefined; + nullable: ObjectUndefined | null; + optional: ObjectUndefined | undefined; + faint: ObjectUndefined | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionComposite.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionComposite.ts new file mode 100644 index 0000000000..b0ea466008 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionComposite.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionComposite } from "../../../structures/ObjectUnionComposite"; + +export const test_llm_parameters_3_0_ObjectUnionComposite = + _test_llm_parameters({ + model: "3.0", + name: "ObjectUnionComposite", + })(typia.llm.parameters()); + +interface ObjectUnionCompositeParameters { + regular: ObjectUnionComposite; + nullable: ObjectUnionComposite | null; + optional: ObjectUnionComposite | undefined; + faint: ObjectUnionComposite | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionCompositePointer.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionCompositePointer.ts new file mode 100644 index 0000000000..1ad8a7edd9 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionCompositePointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionCompositePointer } from "../../../structures/ObjectUnionCompositePointer"; + +export const test_llm_parameters_3_0_ObjectUnionCompositePointer = + _test_llm_parameters({ + model: "3.0", + name: "ObjectUnionCompositePointer", + })(typia.llm.parameters()); + +interface ObjectUnionCompositePointerParameters { + regular: ObjectUnionCompositePointer; + nullable: ObjectUnionCompositePointer | null; + optional: ObjectUnionCompositePointer | undefined; + faint: ObjectUnionCompositePointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionDouble.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionDouble.ts new file mode 100644 index 0000000000..5b4c682b9f --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionDouble.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionDouble } from "../../../structures/ObjectUnionDouble"; + +export const test_llm_parameters_3_0_ObjectUnionDouble = _test_llm_parameters({ + model: "3.0", + name: "ObjectUnionDouble", +})(typia.llm.parameters()); + +interface ObjectUnionDoubleParameters { + regular: ObjectUnionDouble; + nullable: ObjectUnionDouble | null; + optional: ObjectUnionDouble | undefined; + faint: ObjectUnionDouble | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionExplicit.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionExplicit.ts new file mode 100644 index 0000000000..3365f1a7e4 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionExplicit.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionExplicit } from "../../../structures/ObjectUnionExplicit"; + +export const test_llm_parameters_3_0_ObjectUnionExplicit = _test_llm_parameters( + { + model: "3.0", + name: "ObjectUnionExplicit", + }, +)(typia.llm.parameters()); + +interface ObjectUnionExplicitParameters { + regular: ObjectUnionExplicit; + nullable: ObjectUnionExplicit | null; + optional: ObjectUnionExplicit | undefined; + faint: ObjectUnionExplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionExplicitPointer.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionExplicitPointer.ts new file mode 100644 index 0000000000..05e27b85b0 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionExplicitPointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionExplicitPointer } from "../../../structures/ObjectUnionExplicitPointer"; + +export const test_llm_parameters_3_0_ObjectUnionExplicitPointer = + _test_llm_parameters({ + model: "3.0", + name: "ObjectUnionExplicitPointer", + })(typia.llm.parameters()); + +interface ObjectUnionExplicitPointerParameters { + regular: ObjectUnionExplicitPointer; + nullable: ObjectUnionExplicitPointer | null; + optional: ObjectUnionExplicitPointer | undefined; + faint: ObjectUnionExplicitPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionImplicit.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionImplicit.ts new file mode 100644 index 0000000000..955c7bb4f0 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionImplicit.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionImplicit } from "../../../structures/ObjectUnionImplicit"; + +export const test_llm_parameters_3_0_ObjectUnionImplicit = _test_llm_parameters( + { + model: "3.0", + name: "ObjectUnionImplicit", + }, +)(typia.llm.parameters()); + +interface ObjectUnionImplicitParameters { + regular: ObjectUnionImplicit; + nullable: ObjectUnionImplicit | null; + optional: ObjectUnionImplicit | undefined; + faint: ObjectUnionImplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionNonPredictable.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionNonPredictable.ts new file mode 100644 index 0000000000..a7ed3f5e86 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ObjectUnionNonPredictable.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionNonPredictable } from "../../../structures/ObjectUnionNonPredictable"; + +export const test_llm_parameters_3_0_ObjectUnionNonPredictable = + _test_llm_parameters({ + model: "3.0", + name: "ObjectUnionNonPredictable", + })(typia.llm.parameters()); + +interface ObjectUnionNonPredictableParameters { + regular: ObjectUnionNonPredictable; + nullable: ObjectUnionNonPredictable | null; + optional: ObjectUnionNonPredictable | undefined; + faint: ObjectUnionNonPredictable | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TemplateAtomic.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TemplateAtomic.ts new file mode 100644 index 0000000000..da743da96d --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TemplateAtomic.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateAtomic } from "../../../structures/TemplateAtomic"; + +export const test_llm_parameters_3_0_TemplateAtomic = _test_llm_parameters({ + model: "3.0", + name: "TemplateAtomic", +})(typia.llm.parameters()); + +interface TemplateAtomicParameters { + regular: TemplateAtomic; + nullable: TemplateAtomic | null; + optional: TemplateAtomic | undefined; + faint: TemplateAtomic | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TemplateConstant.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TemplateConstant.ts new file mode 100644 index 0000000000..b2bf2e5fff --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TemplateConstant.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateConstant } from "../../../structures/TemplateConstant"; + +export const test_llm_parameters_3_0_TemplateConstant = _test_llm_parameters({ + model: "3.0", + name: "TemplateConstant", +})(typia.llm.parameters()); + +interface TemplateConstantParameters { + regular: TemplateConstant; + nullable: TemplateConstant | null; + optional: TemplateConstant | undefined; + faint: TemplateConstant | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TemplateUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TemplateUnion.ts new file mode 100644 index 0000000000..8b168f1320 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TemplateUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateUnion } from "../../../structures/TemplateUnion"; + +export const test_llm_parameters_3_0_TemplateUnion = _test_llm_parameters({ + model: "3.0", + name: "TemplateUnion", +})(typia.llm.parameters()); + +interface TemplateUnionParameters { + regular: TemplateUnion; + nullable: TemplateUnion | null; + optional: TemplateUnion | undefined; + faint: TemplateUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonAtomicUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonAtomicUnion.ts new file mode 100644 index 0000000000..3213d668d2 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonAtomicUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonAtomicUnion } from "../../../structures/ToJsonAtomicUnion"; + +export const test_llm_parameters_3_0_ToJsonAtomicUnion = _test_llm_parameters({ + model: "3.0", + name: "ToJsonAtomicUnion", +})(typia.llm.parameters()); + +interface ToJsonAtomicUnionParameters { + regular: ToJsonAtomicUnion; + nullable: ToJsonAtomicUnion | null; + optional: ToJsonAtomicUnion | undefined; + faint: ToJsonAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonDouble.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonDouble.ts new file mode 100644 index 0000000000..701a0196d8 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonDouble.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonDouble } from "../../../structures/ToJsonDouble"; + +export const test_llm_parameters_3_0_ToJsonDouble = _test_llm_parameters({ + model: "3.0", + name: "ToJsonDouble", +})(typia.llm.parameters()); + +interface ToJsonDoubleParameters { + regular: ToJsonDouble; + nullable: ToJsonDouble | null; + optional: ToJsonDouble | undefined; + faint: ToJsonDouble | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonNull.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonNull.ts new file mode 100644 index 0000000000..3299a212bf --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonNull.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonNull } from "../../../structures/ToJsonNull"; + +export const test_llm_parameters_3_0_ToJsonNull = _test_llm_parameters({ + model: "3.0", + name: "ToJsonNull", +})(typia.llm.parameters()); + +interface ToJsonNullParameters { + regular: ToJsonNull; + nullable: ToJsonNull | null; + optional: ToJsonNull | undefined; + faint: ToJsonNull | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonUnion.ts new file mode 100644 index 0000000000..8a5974964d --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_ToJsonUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonUnion } from "../../../structures/ToJsonUnion"; + +export const test_llm_parameters_3_0_ToJsonUnion = _test_llm_parameters({ + model: "3.0", + name: "ToJsonUnion", +})(typia.llm.parameters()); + +interface ToJsonUnionParameters { + regular: ToJsonUnion; + nullable: ToJsonUnion | null; + optional: ToJsonUnion | undefined; + faint: ToJsonUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagArray.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagArray.ts new file mode 100644 index 0000000000..def5607cdc --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagArray.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagArray } from "../../../structures/TypeTagArray"; + +export const test_llm_parameters_3_0_TypeTagArray = _test_llm_parameters({ + model: "3.0", + name: "TypeTagArray", +})(typia.llm.parameters()); + +interface TypeTagArrayParameters { + regular: TypeTagArray; + nullable: TypeTagArray | null; + optional: TypeTagArray | undefined; + faint: TypeTagArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagArrayUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagArrayUnion.ts new file mode 100644 index 0000000000..00a5f416a9 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagArrayUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagArrayUnion } from "../../../structures/TypeTagArrayUnion"; + +export const test_llm_parameters_3_0_TypeTagArrayUnion = _test_llm_parameters({ + model: "3.0", + name: "TypeTagArrayUnion", +})(typia.llm.parameters()); + +interface TypeTagArrayUnionParameters { + regular: TypeTagArrayUnion; + nullable: TypeTagArrayUnion | null; + optional: TypeTagArrayUnion | undefined; + faint: TypeTagArrayUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagAtomicUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagAtomicUnion.ts new file mode 100644 index 0000000000..621e6f82e6 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagAtomicUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagAtomicUnion } from "../../../structures/TypeTagAtomicUnion"; + +export const test_llm_parameters_3_0_TypeTagAtomicUnion = _test_llm_parameters({ + model: "3.0", + name: "TypeTagAtomicUnion", +})(typia.llm.parameters()); + +interface TypeTagAtomicUnionParameters { + regular: TypeTagAtomicUnion; + nullable: TypeTagAtomicUnion | null; + optional: TypeTagAtomicUnion | undefined; + faint: TypeTagAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagCustom.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagCustom.ts new file mode 100644 index 0000000000..4533d54e6d --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagCustom.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagCustom } from "../../../structures/TypeTagCustom"; + +export const test_llm_parameters_3_0_TypeTagCustom = _test_llm_parameters({ + model: "3.0", + name: "TypeTagCustom", +})(typia.llm.parameters()); + +interface TypeTagCustomParameters { + regular: TypeTagCustom; + nullable: TypeTagCustom | null; + optional: TypeTagCustom | undefined; + faint: TypeTagCustom | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagDefault.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagDefault.ts new file mode 100644 index 0000000000..642db87ad4 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagDefault.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagDefault } from "../../../structures/TypeTagDefault"; + +export const test_llm_parameters_3_0_TypeTagDefault = _test_llm_parameters({ + model: "3.0", + name: "TypeTagDefault", +})(typia.llm.parameters()); + +interface TypeTagDefaultParameters { + regular: TypeTagDefault; + nullable: TypeTagDefault | null; + optional: TypeTagDefault | undefined; + faint: TypeTagDefault | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagFormat.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagFormat.ts new file mode 100644 index 0000000000..df80a8772e --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagFormat.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagFormat } from "../../../structures/TypeTagFormat"; + +export const test_llm_parameters_3_0_TypeTagFormat = _test_llm_parameters({ + model: "3.0", + name: "TypeTagFormat", +})(typia.llm.parameters()); + +interface TypeTagFormatParameters { + regular: TypeTagFormat; + nullable: TypeTagFormat | null; + optional: TypeTagFormat | undefined; + faint: TypeTagFormat | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagLength.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagLength.ts new file mode 100644 index 0000000000..442a3c52c2 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagLength.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagLength } from "../../../structures/TypeTagLength"; + +export const test_llm_parameters_3_0_TypeTagLength = _test_llm_parameters({ + model: "3.0", + name: "TypeTagLength", +})(typia.llm.parameters()); + +interface TypeTagLengthParameters { + regular: TypeTagLength; + nullable: TypeTagLength | null; + optional: TypeTagLength | undefined; + faint: TypeTagLength | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagMatrix.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagMatrix.ts new file mode 100644 index 0000000000..62a06f8e34 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagMatrix.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagMatrix } from "../../../structures/TypeTagMatrix"; + +export const test_llm_parameters_3_0_TypeTagMatrix = _test_llm_parameters({ + model: "3.0", + name: "TypeTagMatrix", +})(typia.llm.parameters()); + +interface TypeTagMatrixParameters { + regular: TypeTagMatrix; + nullable: TypeTagMatrix | null; + optional: TypeTagMatrix | undefined; + faint: TypeTagMatrix | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagObjectUnion.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagObjectUnion.ts new file mode 100644 index 0000000000..7c3e034443 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagObjectUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagObjectUnion } from "../../../structures/TypeTagObjectUnion"; + +export const test_llm_parameters_3_0_TypeTagObjectUnion = _test_llm_parameters({ + model: "3.0", + name: "TypeTagObjectUnion", +})(typia.llm.parameters()); + +interface TypeTagObjectUnionParameters { + regular: TypeTagObjectUnion; + nullable: TypeTagObjectUnion | null; + optional: TypeTagObjectUnion | undefined; + faint: TypeTagObjectUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagPattern.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagPattern.ts new file mode 100644 index 0000000000..8c1439788d --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagPattern.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagPattern } from "../../../structures/TypeTagPattern"; + +export const test_llm_parameters_3_0_TypeTagPattern = _test_llm_parameters({ + model: "3.0", + name: "TypeTagPattern", +})(typia.llm.parameters()); + +interface TypeTagPatternParameters { + regular: TypeTagPattern; + nullable: TypeTagPattern | null; + optional: TypeTagPattern | undefined; + faint: TypeTagPattern | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagRange.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagRange.ts new file mode 100644 index 0000000000..b0888f5cc3 --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagRange.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagRange } from "../../../structures/TypeTagRange"; + +export const test_llm_parameters_3_0_TypeTagRange = _test_llm_parameters({ + model: "3.0", + name: "TypeTagRange", +})(typia.llm.parameters()); + +interface TypeTagRangeParameters { + regular: TypeTagRange; + nullable: TypeTagRange | null; + optional: TypeTagRange | undefined; + faint: TypeTagRange | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagType.ts b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagType.ts new file mode 100644 index 0000000000..50c340dc4e --- /dev/null +++ b/test/src/features/llm.parameters/3.0/test_llm_parameters_3_0_TypeTagType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagType } from "../../../structures/TypeTagType"; + +export const test_llm_parameters_3_0_TypeTagType = _test_llm_parameters({ + model: "3.0", + name: "TypeTagType", +})(typia.llm.parameters()); + +interface TypeTagTypeParameters { + regular: TypeTagType; + nullable: TypeTagType | null; + optional: TypeTagType | undefined; + faint: TypeTagType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayAny.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayAny.ts new file mode 100644 index 0000000000..477dc8b66d --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayAny.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayAny } from "../../../structures/ArrayAny"; + +export const test_llm_parameters_3_1_ArrayAny = _test_llm_parameters({ + model: "3.1", + name: "ArrayAny", +})(typia.llm.parameters()); + +interface ArrayAnyParameters { + regular: ArrayAny; + nullable: ArrayAny | null; + optional: ArrayAny | undefined; + faint: ArrayAny | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayHierarchical.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayHierarchical.ts new file mode 100644 index 0000000000..9fc6910cab --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayHierarchical.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayHierarchical } from "../../../structures/ArrayHierarchical"; + +export const test_llm_parameters_3_1_ArrayHierarchical = _test_llm_parameters({ + model: "3.1", + name: "ArrayHierarchical", +})(typia.llm.parameters()); + +interface ArrayHierarchicalParameters { + regular: ArrayHierarchical; + nullable: ArrayHierarchical | null; + optional: ArrayHierarchical | undefined; + faint: ArrayHierarchical | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayHierarchicalPointer.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayHierarchicalPointer.ts new file mode 100644 index 0000000000..31f07d9e8e --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayHierarchicalPointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayHierarchicalPointer } from "../../../structures/ArrayHierarchicalPointer"; + +export const test_llm_parameters_3_1_ArrayHierarchicalPointer = + _test_llm_parameters({ + model: "3.1", + name: "ArrayHierarchicalPointer", + })(typia.llm.parameters()); + +interface ArrayHierarchicalPointerParameters { + regular: ArrayHierarchicalPointer; + nullable: ArrayHierarchicalPointer | null; + optional: ArrayHierarchicalPointer | undefined; + faint: ArrayHierarchicalPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayMatrix.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayMatrix.ts new file mode 100644 index 0000000000..a3b402bfd3 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayMatrix.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayMatrix } from "../../../structures/ArrayMatrix"; + +export const test_llm_parameters_3_1_ArrayMatrix = _test_llm_parameters({ + model: "3.1", + name: "ArrayMatrix", +})(typia.llm.parameters()); + +interface ArrayMatrixParameters { + regular: ArrayMatrix; + nullable: ArrayMatrix | null; + optional: ArrayMatrix | undefined; + faint: ArrayMatrix | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursive.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursive.ts new file mode 100644 index 0000000000..854c1fac06 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursive } from "../../../structures/ArrayRecursive"; + +export const test_llm_parameters_3_1_ArrayRecursive = _test_llm_parameters({ + model: "3.1", + name: "ArrayRecursive", +})(typia.llm.parameters()); + +interface ArrayRecursiveParameters { + regular: ArrayRecursive; + nullable: ArrayRecursive | null; + optional: ArrayRecursive | undefined; + faint: ArrayRecursive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursiveUnionExplicit.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursiveUnionExplicit.ts new file mode 100644 index 0000000000..eb59f22efe --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursiveUnionExplicit.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursiveUnionExplicit } from "../../../structures/ArrayRecursiveUnionExplicit"; + +export const test_llm_parameters_3_1_ArrayRecursiveUnionExplicit = + _test_llm_parameters({ + model: "3.1", + name: "ArrayRecursiveUnionExplicit", + })(typia.llm.parameters()); + +interface ArrayRecursiveUnionExplicitParameters { + regular: ArrayRecursiveUnionExplicit; + nullable: ArrayRecursiveUnionExplicit | null; + optional: ArrayRecursiveUnionExplicit | undefined; + faint: ArrayRecursiveUnionExplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursiveUnionExplicitPointer.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursiveUnionExplicitPointer.ts new file mode 100644 index 0000000000..8303240366 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursiveUnionExplicitPointer.ts @@ -0,0 +1,20 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursiveUnionExplicitPointer } from "../../../structures/ArrayRecursiveUnionExplicitPointer"; + +export const test_llm_parameters_3_1_ArrayRecursiveUnionExplicitPointer = + _test_llm_parameters({ + model: "3.1", + name: "ArrayRecursiveUnionExplicitPointer", + })( + typia.llm.parameters(), + ); + +interface ArrayRecursiveUnionExplicitPointerParameters { + regular: ArrayRecursiveUnionExplicitPointer; + nullable: ArrayRecursiveUnionExplicitPointer | null; + optional: ArrayRecursiveUnionExplicitPointer | undefined; + faint: ArrayRecursiveUnionExplicitPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursiveUnionImplicit.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursiveUnionImplicit.ts new file mode 100644 index 0000000000..fbdb5d21cd --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRecursiveUnionImplicit.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursiveUnionImplicit } from "../../../structures/ArrayRecursiveUnionImplicit"; + +export const test_llm_parameters_3_1_ArrayRecursiveUnionImplicit = + _test_llm_parameters({ + model: "3.1", + name: "ArrayRecursiveUnionImplicit", + })(typia.llm.parameters()); + +interface ArrayRecursiveUnionImplicitParameters { + regular: ArrayRecursiveUnionImplicit; + nullable: ArrayRecursiveUnionImplicit | null; + optional: ArrayRecursiveUnionImplicit | undefined; + faint: ArrayRecursiveUnionImplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRepeatedNullable.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRepeatedNullable.ts new file mode 100644 index 0000000000..f3e8cfe0ef --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRepeatedNullable.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRepeatedNullable } from "../../../structures/ArrayRepeatedNullable"; + +export const test_llm_parameters_3_1_ArrayRepeatedNullable = + _test_llm_parameters({ + model: "3.1", + name: "ArrayRepeatedNullable", + })(typia.llm.parameters()); + +interface ArrayRepeatedNullableParameters { + regular: ArrayRepeatedNullable; + nullable: ArrayRepeatedNullable | null; + optional: ArrayRepeatedNullable | undefined; + faint: ArrayRepeatedNullable | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRepeatedRequired.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRepeatedRequired.ts new file mode 100644 index 0000000000..e28311adbf --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRepeatedRequired.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRepeatedRequired } from "../../../structures/ArrayRepeatedRequired"; + +export const test_llm_parameters_3_1_ArrayRepeatedRequired = + _test_llm_parameters({ + model: "3.1", + name: "ArrayRepeatedRequired", + })(typia.llm.parameters()); + +interface ArrayRepeatedRequiredParameters { + regular: ArrayRepeatedRequired; + nullable: ArrayRepeatedRequired | null; + optional: ArrayRepeatedRequired | undefined; + faint: ArrayRepeatedRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRepeatedUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRepeatedUnion.ts new file mode 100644 index 0000000000..d890cd0599 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayRepeatedUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRepeatedUnion } from "../../../structures/ArrayRepeatedUnion"; + +export const test_llm_parameters_3_1_ArrayRepeatedUnion = _test_llm_parameters({ + model: "3.1", + name: "ArrayRepeatedUnion", +})(typia.llm.parameters()); + +interface ArrayRepeatedUnionParameters { + regular: ArrayRepeatedUnion; + nullable: ArrayRepeatedUnion | null; + optional: ArrayRepeatedUnion | undefined; + faint: ArrayRepeatedUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArraySimple.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArraySimple.ts new file mode 100644 index 0000000000..11ecbead39 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArraySimple.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArraySimple } from "../../../structures/ArraySimple"; + +export const test_llm_parameters_3_1_ArraySimple = _test_llm_parameters({ + model: "3.1", + name: "ArraySimple", +})(typia.llm.parameters()); + +interface ArraySimpleParameters { + regular: ArraySimple; + nullable: ArraySimple | null; + optional: ArraySimple | undefined; + faint: ArraySimple | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayUnion.ts new file mode 100644 index 0000000000..1b779b323f --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ArrayUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayUnion } from "../../../structures/ArrayUnion"; + +export const test_llm_parameters_3_1_ArrayUnion = _test_llm_parameters({ + model: "3.1", + name: "ArrayUnion", +})(typia.llm.parameters()); + +interface ArrayUnionParameters { + regular: ArrayUnion; + nullable: ArrayUnion | null; + optional: ArrayUnion | undefined; + faint: ArrayUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_AtomicUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_AtomicUnion.ts new file mode 100644 index 0000000000..507c44b90e --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_AtomicUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { AtomicUnion } from "../../../structures/AtomicUnion"; + +export const test_llm_parameters_3_1_AtomicUnion = _test_llm_parameters({ + model: "3.1", + name: "AtomicUnion", +})(typia.llm.parameters()); + +interface AtomicUnionParameters { + regular: AtomicUnion; + nullable: AtomicUnion | null; + optional: AtomicUnion | undefined; + faint: AtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ClassGetter.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ClassGetter.ts new file mode 100644 index 0000000000..e332715728 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ClassGetter.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassGetter } from "../../../structures/ClassGetter"; + +export const test_llm_parameters_3_1_ClassGetter = _test_llm_parameters({ + model: "3.1", + name: "ClassGetter", +})(typia.llm.parameters()); + +interface ClassGetterParameters { + regular: ClassGetter; + nullable: ClassGetter | null; + optional: ClassGetter | undefined; + faint: ClassGetter | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ClassMethod.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ClassMethod.ts new file mode 100644 index 0000000000..b04f2192b9 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ClassMethod.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassMethod } from "../../../structures/ClassMethod"; + +export const test_llm_parameters_3_1_ClassMethod = _test_llm_parameters({ + model: "3.1", + name: "ClassMethod", +})(typia.llm.parameters()); + +interface ClassMethodParameters { + regular: ClassMethod; + nullable: ClassMethod | null; + optional: ClassMethod | undefined; + faint: ClassMethod | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ClassPropertyAssignment.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ClassPropertyAssignment.ts new file mode 100644 index 0000000000..4f2d9e6541 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ClassPropertyAssignment.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassPropertyAssignment } from "../../../structures/ClassPropertyAssignment"; + +export const test_llm_parameters_3_1_ClassPropertyAssignment = + _test_llm_parameters({ + model: "3.1", + name: "ClassPropertyAssignment", + })(typia.llm.parameters()); + +interface ClassPropertyAssignmentParameters { + regular: ClassPropertyAssignment; + nullable: ClassPropertyAssignment | null; + optional: ClassPropertyAssignment | undefined; + faint: ClassPropertyAssignment | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagArray.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagArray.ts new file mode 100644 index 0000000000..984ca7a490 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagArray.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagArray } from "../../../structures/CommentTagArray"; + +export const test_llm_parameters_3_1_CommentTagArray = _test_llm_parameters({ + model: "3.1", + name: "CommentTagArray", +})(typia.llm.parameters()); + +interface CommentTagArrayParameters { + regular: CommentTagArray; + nullable: CommentTagArray | null; + optional: CommentTagArray | undefined; + faint: CommentTagArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagArrayUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagArrayUnion.ts new file mode 100644 index 0000000000..0a871919b2 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagArrayUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagArrayUnion } from "../../../structures/CommentTagArrayUnion"; + +export const test_llm_parameters_3_1_CommentTagArrayUnion = + _test_llm_parameters({ + model: "3.1", + name: "CommentTagArrayUnion", + })(typia.llm.parameters()); + +interface CommentTagArrayUnionParameters { + regular: CommentTagArrayUnion; + nullable: CommentTagArrayUnion | null; + optional: CommentTagArrayUnion | undefined; + faint: CommentTagArrayUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagAtomicUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagAtomicUnion.ts new file mode 100644 index 0000000000..c20ee3dfee --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagAtomicUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagAtomicUnion } from "../../../structures/CommentTagAtomicUnion"; + +export const test_llm_parameters_3_1_CommentTagAtomicUnion = + _test_llm_parameters({ + model: "3.1", + name: "CommentTagAtomicUnion", + })(typia.llm.parameters()); + +interface CommentTagAtomicUnionParameters { + regular: CommentTagAtomicUnion; + nullable: CommentTagAtomicUnion | null; + optional: CommentTagAtomicUnion | undefined; + faint: CommentTagAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagDefault.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagDefault.ts new file mode 100644 index 0000000000..aa2288476f --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagDefault.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagDefault } from "../../../structures/CommentTagDefault"; + +export const test_llm_parameters_3_1_CommentTagDefault = _test_llm_parameters({ + model: "3.1", + name: "CommentTagDefault", +})(typia.llm.parameters()); + +interface CommentTagDefaultParameters { + regular: CommentTagDefault; + nullable: CommentTagDefault | null; + optional: CommentTagDefault | undefined; + faint: CommentTagDefault | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagFormat.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagFormat.ts new file mode 100644 index 0000000000..f43681c4cf --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagFormat.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagFormat } from "../../../structures/CommentTagFormat"; + +export const test_llm_parameters_3_1_CommentTagFormat = _test_llm_parameters({ + model: "3.1", + name: "CommentTagFormat", +})(typia.llm.parameters()); + +interface CommentTagFormatParameters { + regular: CommentTagFormat; + nullable: CommentTagFormat | null; + optional: CommentTagFormat | undefined; + faint: CommentTagFormat | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagLength.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagLength.ts new file mode 100644 index 0000000000..a8dccc8a57 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagLength.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagLength } from "../../../structures/CommentTagLength"; + +export const test_llm_parameters_3_1_CommentTagLength = _test_llm_parameters({ + model: "3.1", + name: "CommentTagLength", +})(typia.llm.parameters()); + +interface CommentTagLengthParameters { + regular: CommentTagLength; + nullable: CommentTagLength | null; + optional: CommentTagLength | undefined; + faint: CommentTagLength | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagObjectUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagObjectUnion.ts new file mode 100644 index 0000000000..d6ed0e77e1 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagObjectUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagObjectUnion } from "../../../structures/CommentTagObjectUnion"; + +export const test_llm_parameters_3_1_CommentTagObjectUnion = + _test_llm_parameters({ + model: "3.1", + name: "CommentTagObjectUnion", + })(typia.llm.parameters()); + +interface CommentTagObjectUnionParameters { + regular: CommentTagObjectUnion; + nullable: CommentTagObjectUnion | null; + optional: CommentTagObjectUnion | undefined; + faint: CommentTagObjectUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagPattern.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagPattern.ts new file mode 100644 index 0000000000..a0f145d51b --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagPattern.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagPattern } from "../../../structures/CommentTagPattern"; + +export const test_llm_parameters_3_1_CommentTagPattern = _test_llm_parameters({ + model: "3.1", + name: "CommentTagPattern", +})(typia.llm.parameters()); + +interface CommentTagPatternParameters { + regular: CommentTagPattern; + nullable: CommentTagPattern | null; + optional: CommentTagPattern | undefined; + faint: CommentTagPattern | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagRange.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagRange.ts new file mode 100644 index 0000000000..02ceabc203 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagRange.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagRange } from "../../../structures/CommentTagRange"; + +export const test_llm_parameters_3_1_CommentTagRange = _test_llm_parameters({ + model: "3.1", + name: "CommentTagRange", +})(typia.llm.parameters()); + +interface CommentTagRangeParameters { + regular: CommentTagRange; + nullable: CommentTagRange | null; + optional: CommentTagRange | undefined; + faint: CommentTagRange | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagType.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagType.ts new file mode 100644 index 0000000000..18ecf363b1 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_CommentTagType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagType } from "../../../structures/CommentTagType"; + +export const test_llm_parameters_3_1_CommentTagType = _test_llm_parameters({ + model: "3.1", + name: "CommentTagType", +})(typia.llm.parameters()); + +interface CommentTagTypeParameters { + regular: CommentTagType; + nullable: CommentTagType | null; + optional: CommentTagType | undefined; + faint: CommentTagType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantAtomicAbsorbed.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantAtomicAbsorbed.ts new file mode 100644 index 0000000000..8b89a1a60d --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantAtomicAbsorbed.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicAbsorbed } from "../../../structures/ConstantAtomicAbsorbed"; + +export const test_llm_parameters_3_1_ConstantAtomicAbsorbed = + _test_llm_parameters({ + model: "3.1", + name: "ConstantAtomicAbsorbed", + })(typia.llm.parameters()); + +interface ConstantAtomicAbsorbedParameters { + regular: ConstantAtomicAbsorbed; + nullable: ConstantAtomicAbsorbed | null; + optional: ConstantAtomicAbsorbed | undefined; + faint: ConstantAtomicAbsorbed | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantAtomicTagged.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantAtomicTagged.ts new file mode 100644 index 0000000000..79f9834349 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantAtomicTagged.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicTagged } from "../../../structures/ConstantAtomicTagged"; + +export const test_llm_parameters_3_1_ConstantAtomicTagged = + _test_llm_parameters({ + model: "3.1", + name: "ConstantAtomicTagged", + })(typia.llm.parameters()); + +interface ConstantAtomicTaggedParameters { + regular: ConstantAtomicTagged; + nullable: ConstantAtomicTagged | null; + optional: ConstantAtomicTagged | undefined; + faint: ConstantAtomicTagged | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantAtomicUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantAtomicUnion.ts new file mode 100644 index 0000000000..9accf3b86a --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantAtomicUnion.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicUnion } from "../../../structures/ConstantAtomicUnion"; + +export const test_llm_parameters_3_1_ConstantAtomicUnion = _test_llm_parameters( + { + model: "3.1", + name: "ConstantAtomicUnion", + }, +)(typia.llm.parameters()); + +interface ConstantAtomicUnionParameters { + regular: ConstantAtomicUnion; + nullable: ConstantAtomicUnion | null; + optional: ConstantAtomicUnion | undefined; + faint: ConstantAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantConstEnumeration.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantConstEnumeration.ts new file mode 100644 index 0000000000..25ec5e7d42 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantConstEnumeration.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantConstEnumeration } from "../../../structures/ConstantConstEnumeration"; + +export const test_llm_parameters_3_1_ConstantConstEnumeration = + _test_llm_parameters({ + model: "3.1", + name: "ConstantConstEnumeration", + })(typia.llm.parameters()); + +interface ConstantConstEnumerationParameters { + regular: ConstantConstEnumeration; + nullable: ConstantConstEnumeration | null; + optional: ConstantConstEnumeration | undefined; + faint: ConstantConstEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantEnumeration.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantEnumeration.ts new file mode 100644 index 0000000000..d028e7211b --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ConstantEnumeration.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantEnumeration } from "../../../structures/ConstantEnumeration"; + +export const test_llm_parameters_3_1_ConstantEnumeration = _test_llm_parameters( + { + model: "3.1", + name: "ConstantEnumeration", + }, +)(typia.llm.parameters()); + +interface ConstantEnumerationParameters { + regular: ConstantEnumeration; + nullable: ConstantEnumeration | null; + optional: ConstantEnumeration | undefined; + faint: ConstantEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicConstant.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicConstant.ts new file mode 100644 index 0000000000..5282f1c5c5 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicConstant.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicConstant } from "../../../structures/DynamicConstant"; + +export const test_llm_parameters_3_1_DynamicConstant = _test_llm_parameters({ + model: "3.1", + name: "DynamicConstant", +})(typia.llm.parameters()); + +interface DynamicConstantParameters { + regular: DynamicConstant; + nullable: DynamicConstant | null; + optional: DynamicConstant | undefined; + faint: DynamicConstant | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicEnumeration.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicEnumeration.ts new file mode 100644 index 0000000000..8739f02bb3 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicEnumeration.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicEnumeration } from "../../../structures/DynamicEnumeration"; + +export const test_llm_parameters_3_1_DynamicEnumeration = _test_llm_parameters({ + model: "3.1", + name: "DynamicEnumeration", +})(typia.llm.parameters()); + +interface DynamicEnumerationParameters { + regular: DynamicEnumeration; + nullable: DynamicEnumeration | null; + optional: DynamicEnumeration | undefined; + faint: DynamicEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicNever.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicNever.ts new file mode 100644 index 0000000000..404fc116bd --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicNever.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicNever } from "../../../structures/DynamicNever"; + +export const test_llm_parameters_3_1_DynamicNever = _test_llm_parameters({ + model: "3.1", + name: "DynamicNever", +})(typia.llm.parameters()); + +interface DynamicNeverParameters { + regular: DynamicNever; + nullable: DynamicNever | null; + optional: DynamicNever | undefined; + faint: DynamicNever | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicUndefined.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicUndefined.ts new file mode 100644 index 0000000000..b47027ebb6 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_DynamicUndefined.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicUndefined } from "../../../structures/DynamicUndefined"; + +export const test_llm_parameters_3_1_DynamicUndefined = _test_llm_parameters({ + model: "3.1", + name: "DynamicUndefined", +})(typia.llm.parameters()); + +interface DynamicUndefinedParameters { + regular: DynamicUndefined; + nullable: DynamicUndefined | null; + optional: DynamicUndefined | undefined; + faint: DynamicUndefined | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectAlias.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectAlias.ts new file mode 100644 index 0000000000..1356cf1a95 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectAlias.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectAlias } from "../../../structures/ObjectAlias"; + +export const test_llm_parameters_3_1_ObjectAlias = _test_llm_parameters({ + model: "3.1", + name: "ObjectAlias", +})(typia.llm.parameters()); + +interface ObjectAliasParameters { + regular: ObjectAlias; + nullable: ObjectAlias | null; + optional: ObjectAlias | undefined; + faint: ObjectAlias | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectDate.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectDate.ts new file mode 100644 index 0000000000..f6fe973faf --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectDate.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectDate } from "../../../structures/ObjectDate"; + +export const test_llm_parameters_3_1_ObjectDate = _test_llm_parameters({ + model: "3.1", + name: "ObjectDate", +})(typia.llm.parameters()); + +interface ObjectDateParameters { + regular: ObjectDate; + nullable: ObjectDate | null; + optional: ObjectDate | undefined; + faint: ObjectDate | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectDescription.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectDescription.ts new file mode 100644 index 0000000000..407b67b913 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectDescription.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectDescription } from "../../../structures/ObjectDescription"; + +export const test_llm_parameters_3_1_ObjectDescription = _test_llm_parameters({ + model: "3.1", + name: "ObjectDescription", +})(typia.llm.parameters()); + +interface ObjectDescriptionParameters { + regular: ObjectDescription; + nullable: ObjectDescription | null; + optional: ObjectDescription | undefined; + faint: ObjectDescription | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectGenericAlias.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectGenericAlias.ts new file mode 100644 index 0000000000..77d8afc622 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectGenericAlias.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericAlias } from "../../../structures/ObjectGenericAlias"; + +export const test_llm_parameters_3_1_ObjectGenericAlias = _test_llm_parameters({ + model: "3.1", + name: "ObjectGenericAlias", +})(typia.llm.parameters()); + +interface ObjectGenericAliasParameters { + regular: ObjectGenericAlias; + nullable: ObjectGenericAlias | null; + optional: ObjectGenericAlias | undefined; + faint: ObjectGenericAlias | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectGenericArray.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectGenericArray.ts new file mode 100644 index 0000000000..ad002094be --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectGenericArray.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericArray } from "../../../structures/ObjectGenericArray"; + +export const test_llm_parameters_3_1_ObjectGenericArray = _test_llm_parameters({ + model: "3.1", + name: "ObjectGenericArray", +})(typia.llm.parameters()); + +interface ObjectGenericArrayParameters { + regular: ObjectGenericArray; + nullable: ObjectGenericArray | null; + optional: ObjectGenericArray | undefined; + faint: ObjectGenericArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectGenericUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectGenericUnion.ts new file mode 100644 index 0000000000..d1a0cf9711 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectGenericUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericUnion } from "../../../structures/ObjectGenericUnion"; + +export const test_llm_parameters_3_1_ObjectGenericUnion = _test_llm_parameters({ + model: "3.1", + name: "ObjectGenericUnion", +})(typia.llm.parameters()); + +interface ObjectGenericUnionParameters { + regular: ObjectGenericUnion; + nullable: ObjectGenericUnion | null; + optional: ObjectGenericUnion | undefined; + faint: ObjectGenericUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectInternal.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectInternal.ts new file mode 100644 index 0000000000..1c1a991c24 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectInternal.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectInternal } from "../../../structures/ObjectInternal"; + +export const test_llm_parameters_3_1_ObjectInternal = _test_llm_parameters({ + model: "3.1", + name: "ObjectInternal", +})(typia.llm.parameters()); + +interface ObjectInternalParameters { + regular: ObjectInternal; + nullable: ObjectInternal | null; + optional: ObjectInternal | undefined; + faint: ObjectInternal | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectIntersection.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectIntersection.ts new file mode 100644 index 0000000000..b3f2af250a --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectIntersection.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectIntersection } from "../../../structures/ObjectIntersection"; + +export const test_llm_parameters_3_1_ObjectIntersection = _test_llm_parameters({ + model: "3.1", + name: "ObjectIntersection", +})(typia.llm.parameters()); + +interface ObjectIntersectionParameters { + regular: ObjectIntersection; + nullable: ObjectIntersection | null; + optional: ObjectIntersection | undefined; + faint: ObjectIntersection | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectJsonTag.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectJsonTag.ts new file mode 100644 index 0000000000..9f816a0aa4 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectJsonTag.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectJsonTag } from "../../../structures/ObjectJsonTag"; + +export const test_llm_parameters_3_1_ObjectJsonTag = _test_llm_parameters({ + model: "3.1", + name: "ObjectJsonTag", +})(typia.llm.parameters()); + +interface ObjectJsonTagParameters { + regular: ObjectJsonTag; + nullable: ObjectJsonTag | null; + optional: ObjectJsonTag | undefined; + faint: ObjectJsonTag | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectLiteralProperty.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectLiteralProperty.ts new file mode 100644 index 0000000000..cd64d82d1f --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectLiteralProperty.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectLiteralProperty } from "../../../structures/ObjectLiteralProperty"; + +export const test_llm_parameters_3_1_ObjectLiteralProperty = + _test_llm_parameters({ + model: "3.1", + name: "ObjectLiteralProperty", + })(typia.llm.parameters()); + +interface ObjectLiteralPropertyParameters { + regular: ObjectLiteralProperty; + nullable: ObjectLiteralProperty | null; + optional: ObjectLiteralProperty | undefined; + faint: ObjectLiteralProperty | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectLiteralType.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectLiteralType.ts new file mode 100644 index 0000000000..1256582c52 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectLiteralType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectLiteralType } from "../../../structures/ObjectLiteralType"; + +export const test_llm_parameters_3_1_ObjectLiteralType = _test_llm_parameters({ + model: "3.1", + name: "ObjectLiteralType", +})(typia.llm.parameters()); + +interface ObjectLiteralTypeParameters { + regular: ObjectLiteralType; + nullable: ObjectLiteralType | null; + optional: ObjectLiteralType | undefined; + faint: ObjectLiteralType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectNullable.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectNullable.ts new file mode 100644 index 0000000000..b2258e5308 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectNullable.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectNullable } from "../../../structures/ObjectNullable"; + +export const test_llm_parameters_3_1_ObjectNullable = _test_llm_parameters({ + model: "3.1", + name: "ObjectNullable", +})(typia.llm.parameters()); + +interface ObjectNullableParameters { + regular: ObjectNullable; + nullable: ObjectNullable | null; + optional: ObjectNullable | undefined; + faint: ObjectNullable | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectOptional.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectOptional.ts new file mode 100644 index 0000000000..e7c4826006 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectOptional.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectOptional } from "../../../structures/ObjectOptional"; + +export const test_llm_parameters_3_1_ObjectOptional = _test_llm_parameters({ + model: "3.1", + name: "ObjectOptional", +})(typia.llm.parameters()); + +interface ObjectOptionalParameters { + regular: ObjectOptional; + nullable: ObjectOptional | null; + optional: ObjectOptional | undefined; + faint: ObjectOptional | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectPartial.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectPartial.ts new file mode 100644 index 0000000000..419719f552 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectPartial.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPartial } from "../../../structures/ObjectPartial"; + +export const test_llm_parameters_3_1_ObjectPartial = _test_llm_parameters({ + model: "3.1", + name: "ObjectPartial", +})(typia.llm.parameters()); + +interface ObjectPartialParameters { + regular: ObjectPartial; + nullable: ObjectPartial | null; + optional: ObjectPartial | undefined; + faint: ObjectPartial | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectPartialAndRequired.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectPartialAndRequired.ts new file mode 100644 index 0000000000..b03d830642 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectPartialAndRequired.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPartialAndRequired } from "../../../structures/ObjectPartialAndRequired"; + +export const test_llm_parameters_3_1_ObjectPartialAndRequired = + _test_llm_parameters({ + model: "3.1", + name: "ObjectPartialAndRequired", + })(typia.llm.parameters()); + +interface ObjectPartialAndRequiredParameters { + regular: ObjectPartialAndRequired; + nullable: ObjectPartialAndRequired | null; + optional: ObjectPartialAndRequired | undefined; + faint: ObjectPartialAndRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectPrimitive.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectPrimitive.ts new file mode 100644 index 0000000000..7d55c54b68 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectPrimitive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPrimitive } from "../../../structures/ObjectPrimitive"; + +export const test_llm_parameters_3_1_ObjectPrimitive = _test_llm_parameters({ + model: "3.1", + name: "ObjectPrimitive", +})(typia.llm.parameters()); + +interface ObjectPrimitiveParameters { + regular: ObjectPrimitive; + nullable: ObjectPrimitive | null; + optional: ObjectPrimitive | undefined; + faint: ObjectPrimitive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectRecursive.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectRecursive.ts new file mode 100644 index 0000000000..c266801fd9 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectRecursive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectRecursive } from "../../../structures/ObjectRecursive"; + +export const test_llm_parameters_3_1_ObjectRecursive = _test_llm_parameters({ + model: "3.1", + name: "ObjectRecursive", +})(typia.llm.parameters()); + +interface ObjectRecursiveParameters { + regular: ObjectRecursive; + nullable: ObjectRecursive | null; + optional: ObjectRecursive | undefined; + faint: ObjectRecursive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectRequired.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectRequired.ts new file mode 100644 index 0000000000..bb01832565 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectRequired.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectRequired } from "../../../structures/ObjectRequired"; + +export const test_llm_parameters_3_1_ObjectRequired = _test_llm_parameters({ + model: "3.1", + name: "ObjectRequired", +})(typia.llm.parameters()); + +interface ObjectRequiredParameters { + regular: ObjectRequired; + nullable: ObjectRequired | null; + optional: ObjectRequired | undefined; + faint: ObjectRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectSimple.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectSimple.ts new file mode 100644 index 0000000000..b2b54035c5 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectSimple.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectSimple } from "../../../structures/ObjectSimple"; + +export const test_llm_parameters_3_1_ObjectSimple = _test_llm_parameters({ + model: "3.1", + name: "ObjectSimple", +})(typia.llm.parameters()); + +interface ObjectSimpleParameters { + regular: ObjectSimple; + nullable: ObjectSimple | null; + optional: ObjectSimple | undefined; + faint: ObjectSimple | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUndefined.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUndefined.ts new file mode 100644 index 0000000000..59d04bcb90 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUndefined.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUndefined } from "../../../structures/ObjectUndefined"; + +export const test_llm_parameters_3_1_ObjectUndefined = _test_llm_parameters({ + model: "3.1", + name: "ObjectUndefined", +})(typia.llm.parameters()); + +interface ObjectUndefinedParameters { + regular: ObjectUndefined; + nullable: ObjectUndefined | null; + optional: ObjectUndefined | undefined; + faint: ObjectUndefined | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionComposite.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionComposite.ts new file mode 100644 index 0000000000..2cebebd9e1 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionComposite.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionComposite } from "../../../structures/ObjectUnionComposite"; + +export const test_llm_parameters_3_1_ObjectUnionComposite = + _test_llm_parameters({ + model: "3.1", + name: "ObjectUnionComposite", + })(typia.llm.parameters()); + +interface ObjectUnionCompositeParameters { + regular: ObjectUnionComposite; + nullable: ObjectUnionComposite | null; + optional: ObjectUnionComposite | undefined; + faint: ObjectUnionComposite | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionCompositePointer.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionCompositePointer.ts new file mode 100644 index 0000000000..d528a83792 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionCompositePointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionCompositePointer } from "../../../structures/ObjectUnionCompositePointer"; + +export const test_llm_parameters_3_1_ObjectUnionCompositePointer = + _test_llm_parameters({ + model: "3.1", + name: "ObjectUnionCompositePointer", + })(typia.llm.parameters()); + +interface ObjectUnionCompositePointerParameters { + regular: ObjectUnionCompositePointer; + nullable: ObjectUnionCompositePointer | null; + optional: ObjectUnionCompositePointer | undefined; + faint: ObjectUnionCompositePointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionDouble.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionDouble.ts new file mode 100644 index 0000000000..ef0b8c44e0 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionDouble.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionDouble } from "../../../structures/ObjectUnionDouble"; + +export const test_llm_parameters_3_1_ObjectUnionDouble = _test_llm_parameters({ + model: "3.1", + name: "ObjectUnionDouble", +})(typia.llm.parameters()); + +interface ObjectUnionDoubleParameters { + regular: ObjectUnionDouble; + nullable: ObjectUnionDouble | null; + optional: ObjectUnionDouble | undefined; + faint: ObjectUnionDouble | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionExplicit.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionExplicit.ts new file mode 100644 index 0000000000..993bfb8188 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionExplicit.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionExplicit } from "../../../structures/ObjectUnionExplicit"; + +export const test_llm_parameters_3_1_ObjectUnionExplicit = _test_llm_parameters( + { + model: "3.1", + name: "ObjectUnionExplicit", + }, +)(typia.llm.parameters()); + +interface ObjectUnionExplicitParameters { + regular: ObjectUnionExplicit; + nullable: ObjectUnionExplicit | null; + optional: ObjectUnionExplicit | undefined; + faint: ObjectUnionExplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionExplicitPointer.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionExplicitPointer.ts new file mode 100644 index 0000000000..1f07e6fcc6 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionExplicitPointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionExplicitPointer } from "../../../structures/ObjectUnionExplicitPointer"; + +export const test_llm_parameters_3_1_ObjectUnionExplicitPointer = + _test_llm_parameters({ + model: "3.1", + name: "ObjectUnionExplicitPointer", + })(typia.llm.parameters()); + +interface ObjectUnionExplicitPointerParameters { + regular: ObjectUnionExplicitPointer; + nullable: ObjectUnionExplicitPointer | null; + optional: ObjectUnionExplicitPointer | undefined; + faint: ObjectUnionExplicitPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionImplicit.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionImplicit.ts new file mode 100644 index 0000000000..a38f4fd670 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionImplicit.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionImplicit } from "../../../structures/ObjectUnionImplicit"; + +export const test_llm_parameters_3_1_ObjectUnionImplicit = _test_llm_parameters( + { + model: "3.1", + name: "ObjectUnionImplicit", + }, +)(typia.llm.parameters()); + +interface ObjectUnionImplicitParameters { + regular: ObjectUnionImplicit; + nullable: ObjectUnionImplicit | null; + optional: ObjectUnionImplicit | undefined; + faint: ObjectUnionImplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionNonPredictable.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionNonPredictable.ts new file mode 100644 index 0000000000..8426705e1e --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ObjectUnionNonPredictable.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionNonPredictable } from "../../../structures/ObjectUnionNonPredictable"; + +export const test_llm_parameters_3_1_ObjectUnionNonPredictable = + _test_llm_parameters({ + model: "3.1", + name: "ObjectUnionNonPredictable", + })(typia.llm.parameters()); + +interface ObjectUnionNonPredictableParameters { + regular: ObjectUnionNonPredictable; + nullable: ObjectUnionNonPredictable | null; + optional: ObjectUnionNonPredictable | undefined; + faint: ObjectUnionNonPredictable | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TemplateAtomic.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TemplateAtomic.ts new file mode 100644 index 0000000000..77207ae0e8 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TemplateAtomic.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateAtomic } from "../../../structures/TemplateAtomic"; + +export const test_llm_parameters_3_1_TemplateAtomic = _test_llm_parameters({ + model: "3.1", + name: "TemplateAtomic", +})(typia.llm.parameters()); + +interface TemplateAtomicParameters { + regular: TemplateAtomic; + nullable: TemplateAtomic | null; + optional: TemplateAtomic | undefined; + faint: TemplateAtomic | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TemplateConstant.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TemplateConstant.ts new file mode 100644 index 0000000000..8543a8dc06 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TemplateConstant.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateConstant } from "../../../structures/TemplateConstant"; + +export const test_llm_parameters_3_1_TemplateConstant = _test_llm_parameters({ + model: "3.1", + name: "TemplateConstant", +})(typia.llm.parameters()); + +interface TemplateConstantParameters { + regular: TemplateConstant; + nullable: TemplateConstant | null; + optional: TemplateConstant | undefined; + faint: TemplateConstant | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TemplateUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TemplateUnion.ts new file mode 100644 index 0000000000..5bab9e7e6f --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TemplateUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateUnion } from "../../../structures/TemplateUnion"; + +export const test_llm_parameters_3_1_TemplateUnion = _test_llm_parameters({ + model: "3.1", + name: "TemplateUnion", +})(typia.llm.parameters()); + +interface TemplateUnionParameters { + regular: TemplateUnion; + nullable: TemplateUnion | null; + optional: TemplateUnion | undefined; + faint: TemplateUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonAtomicUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonAtomicUnion.ts new file mode 100644 index 0000000000..3de1a1f955 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonAtomicUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonAtomicUnion } from "../../../structures/ToJsonAtomicUnion"; + +export const test_llm_parameters_3_1_ToJsonAtomicUnion = _test_llm_parameters({ + model: "3.1", + name: "ToJsonAtomicUnion", +})(typia.llm.parameters()); + +interface ToJsonAtomicUnionParameters { + regular: ToJsonAtomicUnion; + nullable: ToJsonAtomicUnion | null; + optional: ToJsonAtomicUnion | undefined; + faint: ToJsonAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonDouble.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonDouble.ts new file mode 100644 index 0000000000..867d2d63f8 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonDouble.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonDouble } from "../../../structures/ToJsonDouble"; + +export const test_llm_parameters_3_1_ToJsonDouble = _test_llm_parameters({ + model: "3.1", + name: "ToJsonDouble", +})(typia.llm.parameters()); + +interface ToJsonDoubleParameters { + regular: ToJsonDouble; + nullable: ToJsonDouble | null; + optional: ToJsonDouble | undefined; + faint: ToJsonDouble | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonNull.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonNull.ts new file mode 100644 index 0000000000..fc4c044bb1 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonNull.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonNull } from "../../../structures/ToJsonNull"; + +export const test_llm_parameters_3_1_ToJsonNull = _test_llm_parameters({ + model: "3.1", + name: "ToJsonNull", +})(typia.llm.parameters()); + +interface ToJsonNullParameters { + regular: ToJsonNull; + nullable: ToJsonNull | null; + optional: ToJsonNull | undefined; + faint: ToJsonNull | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonUnion.ts new file mode 100644 index 0000000000..fd7528286e --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_ToJsonUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonUnion } from "../../../structures/ToJsonUnion"; + +export const test_llm_parameters_3_1_ToJsonUnion = _test_llm_parameters({ + model: "3.1", + name: "ToJsonUnion", +})(typia.llm.parameters()); + +interface ToJsonUnionParameters { + regular: ToJsonUnion; + nullable: ToJsonUnion | null; + optional: ToJsonUnion | undefined; + faint: ToJsonUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagArray.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagArray.ts new file mode 100644 index 0000000000..7282a07f05 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagArray.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagArray } from "../../../structures/TypeTagArray"; + +export const test_llm_parameters_3_1_TypeTagArray = _test_llm_parameters({ + model: "3.1", + name: "TypeTagArray", +})(typia.llm.parameters()); + +interface TypeTagArrayParameters { + regular: TypeTagArray; + nullable: TypeTagArray | null; + optional: TypeTagArray | undefined; + faint: TypeTagArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagArrayUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagArrayUnion.ts new file mode 100644 index 0000000000..3d45cf8c7b --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagArrayUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagArrayUnion } from "../../../structures/TypeTagArrayUnion"; + +export const test_llm_parameters_3_1_TypeTagArrayUnion = _test_llm_parameters({ + model: "3.1", + name: "TypeTagArrayUnion", +})(typia.llm.parameters()); + +interface TypeTagArrayUnionParameters { + regular: TypeTagArrayUnion; + nullable: TypeTagArrayUnion | null; + optional: TypeTagArrayUnion | undefined; + faint: TypeTagArrayUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagAtomicUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagAtomicUnion.ts new file mode 100644 index 0000000000..ec8dac7aed --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagAtomicUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagAtomicUnion } from "../../../structures/TypeTagAtomicUnion"; + +export const test_llm_parameters_3_1_TypeTagAtomicUnion = _test_llm_parameters({ + model: "3.1", + name: "TypeTagAtomicUnion", +})(typia.llm.parameters()); + +interface TypeTagAtomicUnionParameters { + regular: TypeTagAtomicUnion; + nullable: TypeTagAtomicUnion | null; + optional: TypeTagAtomicUnion | undefined; + faint: TypeTagAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagCustom.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagCustom.ts new file mode 100644 index 0000000000..a42627091b --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagCustom.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagCustom } from "../../../structures/TypeTagCustom"; + +export const test_llm_parameters_3_1_TypeTagCustom = _test_llm_parameters({ + model: "3.1", + name: "TypeTagCustom", +})(typia.llm.parameters()); + +interface TypeTagCustomParameters { + regular: TypeTagCustom; + nullable: TypeTagCustom | null; + optional: TypeTagCustom | undefined; + faint: TypeTagCustom | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagDefault.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagDefault.ts new file mode 100644 index 0000000000..65ad0d2a9e --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagDefault.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagDefault } from "../../../structures/TypeTagDefault"; + +export const test_llm_parameters_3_1_TypeTagDefault = _test_llm_parameters({ + model: "3.1", + name: "TypeTagDefault", +})(typia.llm.parameters()); + +interface TypeTagDefaultParameters { + regular: TypeTagDefault; + nullable: TypeTagDefault | null; + optional: TypeTagDefault | undefined; + faint: TypeTagDefault | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagFormat.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagFormat.ts new file mode 100644 index 0000000000..4201f362dd --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagFormat.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagFormat } from "../../../structures/TypeTagFormat"; + +export const test_llm_parameters_3_1_TypeTagFormat = _test_llm_parameters({ + model: "3.1", + name: "TypeTagFormat", +})(typia.llm.parameters()); + +interface TypeTagFormatParameters { + regular: TypeTagFormat; + nullable: TypeTagFormat | null; + optional: TypeTagFormat | undefined; + faint: TypeTagFormat | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagLength.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagLength.ts new file mode 100644 index 0000000000..002671c941 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagLength.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagLength } from "../../../structures/TypeTagLength"; + +export const test_llm_parameters_3_1_TypeTagLength = _test_llm_parameters({ + model: "3.1", + name: "TypeTagLength", +})(typia.llm.parameters()); + +interface TypeTagLengthParameters { + regular: TypeTagLength; + nullable: TypeTagLength | null; + optional: TypeTagLength | undefined; + faint: TypeTagLength | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagMatrix.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagMatrix.ts new file mode 100644 index 0000000000..64b5dfcac1 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagMatrix.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagMatrix } from "../../../structures/TypeTagMatrix"; + +export const test_llm_parameters_3_1_TypeTagMatrix = _test_llm_parameters({ + model: "3.1", + name: "TypeTagMatrix", +})(typia.llm.parameters()); + +interface TypeTagMatrixParameters { + regular: TypeTagMatrix; + nullable: TypeTagMatrix | null; + optional: TypeTagMatrix | undefined; + faint: TypeTagMatrix | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagObjectUnion.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagObjectUnion.ts new file mode 100644 index 0000000000..5eba8e2098 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagObjectUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagObjectUnion } from "../../../structures/TypeTagObjectUnion"; + +export const test_llm_parameters_3_1_TypeTagObjectUnion = _test_llm_parameters({ + model: "3.1", + name: "TypeTagObjectUnion", +})(typia.llm.parameters()); + +interface TypeTagObjectUnionParameters { + regular: TypeTagObjectUnion; + nullable: TypeTagObjectUnion | null; + optional: TypeTagObjectUnion | undefined; + faint: TypeTagObjectUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagPattern.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagPattern.ts new file mode 100644 index 0000000000..2a30592826 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagPattern.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagPattern } from "../../../structures/TypeTagPattern"; + +export const test_llm_parameters_3_1_TypeTagPattern = _test_llm_parameters({ + model: "3.1", + name: "TypeTagPattern", +})(typia.llm.parameters()); + +interface TypeTagPatternParameters { + regular: TypeTagPattern; + nullable: TypeTagPattern | null; + optional: TypeTagPattern | undefined; + faint: TypeTagPattern | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagRange.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagRange.ts new file mode 100644 index 0000000000..bbc20e4d03 --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagRange.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagRange } from "../../../structures/TypeTagRange"; + +export const test_llm_parameters_3_1_TypeTagRange = _test_llm_parameters({ + model: "3.1", + name: "TypeTagRange", +})(typia.llm.parameters()); + +interface TypeTagRangeParameters { + regular: TypeTagRange; + nullable: TypeTagRange | null; + optional: TypeTagRange | undefined; + faint: TypeTagRange | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagType.ts b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagType.ts new file mode 100644 index 0000000000..ba6d88474c --- /dev/null +++ b/test/src/features/llm.parameters/3.1/test_llm_parameters_3_1_TypeTagType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagType } from "../../../structures/TypeTagType"; + +export const test_llm_parameters_3_1_TypeTagType = _test_llm_parameters({ + model: "3.1", + name: "TypeTagType", +})(typia.llm.parameters()); + +interface TypeTagTypeParameters { + regular: TypeTagType; + nullable: TypeTagType | null; + optional: TypeTagType | undefined; + faint: TypeTagType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayAny.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayAny.ts new file mode 100644 index 0000000000..9699f55790 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayAny.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayAny } from "../../../structures/ArrayAny"; + +export const test_llm_parameters_chatgpt_ArrayAny = _test_llm_parameters({ + model: "chatgpt", + name: "ArrayAny", +})(typia.llm.parameters()); + +interface ArrayAnyParameters { + regular: ArrayAny; + nullable: ArrayAny | null; + optional: ArrayAny | undefined; + faint: ArrayAny | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayHierarchical.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayHierarchical.ts new file mode 100644 index 0000000000..2370617fcf --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayHierarchical.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayHierarchical } from "../../../structures/ArrayHierarchical"; + +export const test_llm_parameters_chatgpt_ArrayHierarchical = + _test_llm_parameters({ + model: "chatgpt", + name: "ArrayHierarchical", + })(typia.llm.parameters()); + +interface ArrayHierarchicalParameters { + regular: ArrayHierarchical; + nullable: ArrayHierarchical | null; + optional: ArrayHierarchical | undefined; + faint: ArrayHierarchical | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayHierarchicalPointer.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayHierarchicalPointer.ts new file mode 100644 index 0000000000..e2048c9810 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayHierarchicalPointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayHierarchicalPointer } from "../../../structures/ArrayHierarchicalPointer"; + +export const test_llm_parameters_chatgpt_ArrayHierarchicalPointer = + _test_llm_parameters({ + model: "chatgpt", + name: "ArrayHierarchicalPointer", + })(typia.llm.parameters()); + +interface ArrayHierarchicalPointerParameters { + regular: ArrayHierarchicalPointer; + nullable: ArrayHierarchicalPointer | null; + optional: ArrayHierarchicalPointer | undefined; + faint: ArrayHierarchicalPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayMatrix.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayMatrix.ts new file mode 100644 index 0000000000..facc25e245 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayMatrix.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayMatrix } from "../../../structures/ArrayMatrix"; + +export const test_llm_parameters_chatgpt_ArrayMatrix = _test_llm_parameters({ + model: "chatgpt", + name: "ArrayMatrix", +})(typia.llm.parameters()); + +interface ArrayMatrixParameters { + regular: ArrayMatrix; + nullable: ArrayMatrix | null; + optional: ArrayMatrix | undefined; + faint: ArrayMatrix | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursive.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursive.ts new file mode 100644 index 0000000000..401758686d --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursive } from "../../../structures/ArrayRecursive"; + +export const test_llm_parameters_chatgpt_ArrayRecursive = _test_llm_parameters({ + model: "chatgpt", + name: "ArrayRecursive", +})(typia.llm.parameters()); + +interface ArrayRecursiveParameters { + regular: ArrayRecursive; + nullable: ArrayRecursive | null; + optional: ArrayRecursive | undefined; + faint: ArrayRecursive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursiveUnionExplicit.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursiveUnionExplicit.ts new file mode 100644 index 0000000000..bdec1a8b48 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursiveUnionExplicit.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursiveUnionExplicit } from "../../../structures/ArrayRecursiveUnionExplicit"; + +export const test_llm_parameters_chatgpt_ArrayRecursiveUnionExplicit = + _test_llm_parameters({ + model: "chatgpt", + name: "ArrayRecursiveUnionExplicit", + })(typia.llm.parameters()); + +interface ArrayRecursiveUnionExplicitParameters { + regular: ArrayRecursiveUnionExplicit; + nullable: ArrayRecursiveUnionExplicit | null; + optional: ArrayRecursiveUnionExplicit | undefined; + faint: ArrayRecursiveUnionExplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursiveUnionExplicitPointer.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursiveUnionExplicitPointer.ts new file mode 100644 index 0000000000..8c3b20ca4a --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursiveUnionExplicitPointer.ts @@ -0,0 +1,23 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursiveUnionExplicitPointer } from "../../../structures/ArrayRecursiveUnionExplicitPointer"; + +export const test_llm_parameters_chatgpt_ArrayRecursiveUnionExplicitPointer = + _test_llm_parameters({ + model: "chatgpt", + name: "ArrayRecursiveUnionExplicitPointer", + })( + typia.llm.parameters< + ArrayRecursiveUnionExplicitPointerParameters, + "chatgpt" + >(), + ); + +interface ArrayRecursiveUnionExplicitPointerParameters { + regular: ArrayRecursiveUnionExplicitPointer; + nullable: ArrayRecursiveUnionExplicitPointer | null; + optional: ArrayRecursiveUnionExplicitPointer | undefined; + faint: ArrayRecursiveUnionExplicitPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursiveUnionImplicit.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursiveUnionImplicit.ts new file mode 100644 index 0000000000..cf269b7d8b --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRecursiveUnionImplicit.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursiveUnionImplicit } from "../../../structures/ArrayRecursiveUnionImplicit"; + +export const test_llm_parameters_chatgpt_ArrayRecursiveUnionImplicit = + _test_llm_parameters({ + model: "chatgpt", + name: "ArrayRecursiveUnionImplicit", + })(typia.llm.parameters()); + +interface ArrayRecursiveUnionImplicitParameters { + regular: ArrayRecursiveUnionImplicit; + nullable: ArrayRecursiveUnionImplicit | null; + optional: ArrayRecursiveUnionImplicit | undefined; + faint: ArrayRecursiveUnionImplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRepeatedNullable.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRepeatedNullable.ts new file mode 100644 index 0000000000..a23f72dc4f --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRepeatedNullable.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRepeatedNullable } from "../../../structures/ArrayRepeatedNullable"; + +export const test_llm_parameters_chatgpt_ArrayRepeatedNullable = + _test_llm_parameters({ + model: "chatgpt", + name: "ArrayRepeatedNullable", + })(typia.llm.parameters()); + +interface ArrayRepeatedNullableParameters { + regular: ArrayRepeatedNullable; + nullable: ArrayRepeatedNullable | null; + optional: ArrayRepeatedNullable | undefined; + faint: ArrayRepeatedNullable | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRepeatedRequired.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRepeatedRequired.ts new file mode 100644 index 0000000000..654d08a05c --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRepeatedRequired.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRepeatedRequired } from "../../../structures/ArrayRepeatedRequired"; + +export const test_llm_parameters_chatgpt_ArrayRepeatedRequired = + _test_llm_parameters({ + model: "chatgpt", + name: "ArrayRepeatedRequired", + })(typia.llm.parameters()); + +interface ArrayRepeatedRequiredParameters { + regular: ArrayRepeatedRequired; + nullable: ArrayRepeatedRequired | null; + optional: ArrayRepeatedRequired | undefined; + faint: ArrayRepeatedRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRepeatedUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRepeatedUnion.ts new file mode 100644 index 0000000000..c3a894d234 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayRepeatedUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRepeatedUnion } from "../../../structures/ArrayRepeatedUnion"; + +export const test_llm_parameters_chatgpt_ArrayRepeatedUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "ArrayRepeatedUnion", + })(typia.llm.parameters()); + +interface ArrayRepeatedUnionParameters { + regular: ArrayRepeatedUnion; + nullable: ArrayRepeatedUnion | null; + optional: ArrayRepeatedUnion | undefined; + faint: ArrayRepeatedUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArraySimple.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArraySimple.ts new file mode 100644 index 0000000000..1fca91ec3f --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArraySimple.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArraySimple } from "../../../structures/ArraySimple"; + +export const test_llm_parameters_chatgpt_ArraySimple = _test_llm_parameters({ + model: "chatgpt", + name: "ArraySimple", +})(typia.llm.parameters()); + +interface ArraySimpleParameters { + regular: ArraySimple; + nullable: ArraySimple | null; + optional: ArraySimple | undefined; + faint: ArraySimple | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayUnion.ts new file mode 100644 index 0000000000..9cd8a3abb7 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ArrayUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayUnion } from "../../../structures/ArrayUnion"; + +export const test_llm_parameters_chatgpt_ArrayUnion = _test_llm_parameters({ + model: "chatgpt", + name: "ArrayUnion", +})(typia.llm.parameters()); + +interface ArrayUnionParameters { + regular: ArrayUnion; + nullable: ArrayUnion | null; + optional: ArrayUnion | undefined; + faint: ArrayUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_AtomicUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_AtomicUnion.ts new file mode 100644 index 0000000000..a6cc5c6ffd --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_AtomicUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { AtomicUnion } from "../../../structures/AtomicUnion"; + +export const test_llm_parameters_chatgpt_AtomicUnion = _test_llm_parameters({ + model: "chatgpt", + name: "AtomicUnion", +})(typia.llm.parameters()); + +interface AtomicUnionParameters { + regular: AtomicUnion; + nullable: AtomicUnion | null; + optional: AtomicUnion | undefined; + faint: AtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ClassGetter.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ClassGetter.ts new file mode 100644 index 0000000000..17bbee78e6 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ClassGetter.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassGetter } from "../../../structures/ClassGetter"; + +export const test_llm_parameters_chatgpt_ClassGetter = _test_llm_parameters({ + model: "chatgpt", + name: "ClassGetter", +})(typia.llm.parameters()); + +interface ClassGetterParameters { + regular: ClassGetter; + nullable: ClassGetter | null; + optional: ClassGetter | undefined; + faint: ClassGetter | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ClassMethod.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ClassMethod.ts new file mode 100644 index 0000000000..02ae1da181 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ClassMethod.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassMethod } from "../../../structures/ClassMethod"; + +export const test_llm_parameters_chatgpt_ClassMethod = _test_llm_parameters({ + model: "chatgpt", + name: "ClassMethod", +})(typia.llm.parameters()); + +interface ClassMethodParameters { + regular: ClassMethod; + nullable: ClassMethod | null; + optional: ClassMethod | undefined; + faint: ClassMethod | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ClassPropertyAssignment.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ClassPropertyAssignment.ts new file mode 100644 index 0000000000..9fe14a6899 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ClassPropertyAssignment.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassPropertyAssignment } from "../../../structures/ClassPropertyAssignment"; + +export const test_llm_parameters_chatgpt_ClassPropertyAssignment = + _test_llm_parameters({ + model: "chatgpt", + name: "ClassPropertyAssignment", + })(typia.llm.parameters()); + +interface ClassPropertyAssignmentParameters { + regular: ClassPropertyAssignment; + nullable: ClassPropertyAssignment | null; + optional: ClassPropertyAssignment | undefined; + faint: ClassPropertyAssignment | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagArray.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagArray.ts new file mode 100644 index 0000000000..1f221e7a36 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagArray.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagArray } from "../../../structures/CommentTagArray"; + +export const test_llm_parameters_chatgpt_CommentTagArray = _test_llm_parameters( + { + model: "chatgpt", + name: "CommentTagArray", + }, +)(typia.llm.parameters()); + +interface CommentTagArrayParameters { + regular: CommentTagArray; + nullable: CommentTagArray | null; + optional: CommentTagArray | undefined; + faint: CommentTagArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagArrayUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagArrayUnion.ts new file mode 100644 index 0000000000..9e4e2e50e1 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagArrayUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagArrayUnion } from "../../../structures/CommentTagArrayUnion"; + +export const test_llm_parameters_chatgpt_CommentTagArrayUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "CommentTagArrayUnion", + })(typia.llm.parameters()); + +interface CommentTagArrayUnionParameters { + regular: CommentTagArrayUnion; + nullable: CommentTagArrayUnion | null; + optional: CommentTagArrayUnion | undefined; + faint: CommentTagArrayUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagAtomicUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagAtomicUnion.ts new file mode 100644 index 0000000000..b0bfa46ccb --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagAtomicUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagAtomicUnion } from "../../../structures/CommentTagAtomicUnion"; + +export const test_llm_parameters_chatgpt_CommentTagAtomicUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "CommentTagAtomicUnion", + })(typia.llm.parameters()); + +interface CommentTagAtomicUnionParameters { + regular: CommentTagAtomicUnion; + nullable: CommentTagAtomicUnion | null; + optional: CommentTagAtomicUnion | undefined; + faint: CommentTagAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagDefault.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagDefault.ts new file mode 100644 index 0000000000..50651f9997 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagDefault.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagDefault } from "../../../structures/CommentTagDefault"; + +export const test_llm_parameters_chatgpt_CommentTagDefault = + _test_llm_parameters({ + model: "chatgpt", + name: "CommentTagDefault", + })(typia.llm.parameters()); + +interface CommentTagDefaultParameters { + regular: CommentTagDefault; + nullable: CommentTagDefault | null; + optional: CommentTagDefault | undefined; + faint: CommentTagDefault | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagFormat.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagFormat.ts new file mode 100644 index 0000000000..252c84d90b --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagFormat.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagFormat } from "../../../structures/CommentTagFormat"; + +export const test_llm_parameters_chatgpt_CommentTagFormat = + _test_llm_parameters({ + model: "chatgpt", + name: "CommentTagFormat", + })(typia.llm.parameters()); + +interface CommentTagFormatParameters { + regular: CommentTagFormat; + nullable: CommentTagFormat | null; + optional: CommentTagFormat | undefined; + faint: CommentTagFormat | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagLength.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagLength.ts new file mode 100644 index 0000000000..8e483dc9e0 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagLength.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagLength } from "../../../structures/CommentTagLength"; + +export const test_llm_parameters_chatgpt_CommentTagLength = + _test_llm_parameters({ + model: "chatgpt", + name: "CommentTagLength", + })(typia.llm.parameters()); + +interface CommentTagLengthParameters { + regular: CommentTagLength; + nullable: CommentTagLength | null; + optional: CommentTagLength | undefined; + faint: CommentTagLength | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagObjectUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagObjectUnion.ts new file mode 100644 index 0000000000..1840d39738 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagObjectUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagObjectUnion } from "../../../structures/CommentTagObjectUnion"; + +export const test_llm_parameters_chatgpt_CommentTagObjectUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "CommentTagObjectUnion", + })(typia.llm.parameters()); + +interface CommentTagObjectUnionParameters { + regular: CommentTagObjectUnion; + nullable: CommentTagObjectUnion | null; + optional: CommentTagObjectUnion | undefined; + faint: CommentTagObjectUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagPattern.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagPattern.ts new file mode 100644 index 0000000000..7e4fae6676 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagPattern.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagPattern } from "../../../structures/CommentTagPattern"; + +export const test_llm_parameters_chatgpt_CommentTagPattern = + _test_llm_parameters({ + model: "chatgpt", + name: "CommentTagPattern", + })(typia.llm.parameters()); + +interface CommentTagPatternParameters { + regular: CommentTagPattern; + nullable: CommentTagPattern | null; + optional: CommentTagPattern | undefined; + faint: CommentTagPattern | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagRange.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagRange.ts new file mode 100644 index 0000000000..b7f1b9b897 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagRange.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagRange } from "../../../structures/CommentTagRange"; + +export const test_llm_parameters_chatgpt_CommentTagRange = _test_llm_parameters( + { + model: "chatgpt", + name: "CommentTagRange", + }, +)(typia.llm.parameters()); + +interface CommentTagRangeParameters { + regular: CommentTagRange; + nullable: CommentTagRange | null; + optional: CommentTagRange | undefined; + faint: CommentTagRange | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagType.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagType.ts new file mode 100644 index 0000000000..0d3625913a --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_CommentTagType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagType } from "../../../structures/CommentTagType"; + +export const test_llm_parameters_chatgpt_CommentTagType = _test_llm_parameters({ + model: "chatgpt", + name: "CommentTagType", +})(typia.llm.parameters()); + +interface CommentTagTypeParameters { + regular: CommentTagType; + nullable: CommentTagType | null; + optional: CommentTagType | undefined; + faint: CommentTagType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantAtomicAbsorbed.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantAtomicAbsorbed.ts new file mode 100644 index 0000000000..87aadbc47d --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantAtomicAbsorbed.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicAbsorbed } from "../../../structures/ConstantAtomicAbsorbed"; + +export const test_llm_parameters_chatgpt_ConstantAtomicAbsorbed = + _test_llm_parameters({ + model: "chatgpt", + name: "ConstantAtomicAbsorbed", + })(typia.llm.parameters()); + +interface ConstantAtomicAbsorbedParameters { + regular: ConstantAtomicAbsorbed; + nullable: ConstantAtomicAbsorbed | null; + optional: ConstantAtomicAbsorbed | undefined; + faint: ConstantAtomicAbsorbed | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantAtomicTagged.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantAtomicTagged.ts new file mode 100644 index 0000000000..a6a5c693e7 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantAtomicTagged.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicTagged } from "../../../structures/ConstantAtomicTagged"; + +export const test_llm_parameters_chatgpt_ConstantAtomicTagged = + _test_llm_parameters({ + model: "chatgpt", + name: "ConstantAtomicTagged", + })(typia.llm.parameters()); + +interface ConstantAtomicTaggedParameters { + regular: ConstantAtomicTagged; + nullable: ConstantAtomicTagged | null; + optional: ConstantAtomicTagged | undefined; + faint: ConstantAtomicTagged | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantAtomicUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantAtomicUnion.ts new file mode 100644 index 0000000000..613d389625 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantAtomicUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicUnion } from "../../../structures/ConstantAtomicUnion"; + +export const test_llm_parameters_chatgpt_ConstantAtomicUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "ConstantAtomicUnion", + })(typia.llm.parameters()); + +interface ConstantAtomicUnionParameters { + regular: ConstantAtomicUnion; + nullable: ConstantAtomicUnion | null; + optional: ConstantAtomicUnion | undefined; + faint: ConstantAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantConstEnumeration.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantConstEnumeration.ts new file mode 100644 index 0000000000..e4753b59c0 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantConstEnumeration.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantConstEnumeration } from "../../../structures/ConstantConstEnumeration"; + +export const test_llm_parameters_chatgpt_ConstantConstEnumeration = + _test_llm_parameters({ + model: "chatgpt", + name: "ConstantConstEnumeration", + })(typia.llm.parameters()); + +interface ConstantConstEnumerationParameters { + regular: ConstantConstEnumeration; + nullable: ConstantConstEnumeration | null; + optional: ConstantConstEnumeration | undefined; + faint: ConstantConstEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantEnumeration.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantEnumeration.ts new file mode 100644 index 0000000000..7e3b87cd41 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ConstantEnumeration.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantEnumeration } from "../../../structures/ConstantEnumeration"; + +export const test_llm_parameters_chatgpt_ConstantEnumeration = + _test_llm_parameters({ + model: "chatgpt", + name: "ConstantEnumeration", + })(typia.llm.parameters()); + +interface ConstantEnumerationParameters { + regular: ConstantEnumeration; + nullable: ConstantEnumeration | null; + optional: ConstantEnumeration | undefined; + faint: ConstantEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicConstant.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicConstant.ts new file mode 100644 index 0000000000..4a6af5cad2 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicConstant.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicConstant } from "../../../structures/DynamicConstant"; + +export const test_llm_parameters_chatgpt_DynamicConstant = _test_llm_parameters( + { + model: "chatgpt", + name: "DynamicConstant", + }, +)(typia.llm.parameters()); + +interface DynamicConstantParameters { + regular: DynamicConstant; + nullable: DynamicConstant | null; + optional: DynamicConstant | undefined; + faint: DynamicConstant | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicEnumeration.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicEnumeration.ts new file mode 100644 index 0000000000..eecc8e1e17 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicEnumeration.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicEnumeration } from "../../../structures/DynamicEnumeration"; + +export const test_llm_parameters_chatgpt_DynamicEnumeration = + _test_llm_parameters({ + model: "chatgpt", + name: "DynamicEnumeration", + })(typia.llm.parameters()); + +interface DynamicEnumerationParameters { + regular: DynamicEnumeration; + nullable: DynamicEnumeration | null; + optional: DynamicEnumeration | undefined; + faint: DynamicEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicNever.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicNever.ts new file mode 100644 index 0000000000..0e70cdf5c6 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicNever.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicNever } from "../../../structures/DynamicNever"; + +export const test_llm_parameters_chatgpt_DynamicNever = _test_llm_parameters({ + model: "chatgpt", + name: "DynamicNever", +})(typia.llm.parameters()); + +interface DynamicNeverParameters { + regular: DynamicNever; + nullable: DynamicNever | null; + optional: DynamicNever | undefined; + faint: DynamicNever | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicUndefined.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicUndefined.ts new file mode 100644 index 0000000000..8ee1e27456 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_DynamicUndefined.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicUndefined } from "../../../structures/DynamicUndefined"; + +export const test_llm_parameters_chatgpt_DynamicUndefined = + _test_llm_parameters({ + model: "chatgpt", + name: "DynamicUndefined", + })(typia.llm.parameters()); + +interface DynamicUndefinedParameters { + regular: DynamicUndefined; + nullable: DynamicUndefined | null; + optional: DynamicUndefined | undefined; + faint: DynamicUndefined | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectAlias.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectAlias.ts new file mode 100644 index 0000000000..65def82b8a --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectAlias.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectAlias } from "../../../structures/ObjectAlias"; + +export const test_llm_parameters_chatgpt_ObjectAlias = _test_llm_parameters({ + model: "chatgpt", + name: "ObjectAlias", +})(typia.llm.parameters()); + +interface ObjectAliasParameters { + regular: ObjectAlias; + nullable: ObjectAlias | null; + optional: ObjectAlias | undefined; + faint: ObjectAlias | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectDate.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectDate.ts new file mode 100644 index 0000000000..ad02f76ad1 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectDate.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectDate } from "../../../structures/ObjectDate"; + +export const test_llm_parameters_chatgpt_ObjectDate = _test_llm_parameters({ + model: "chatgpt", + name: "ObjectDate", +})(typia.llm.parameters()); + +interface ObjectDateParameters { + regular: ObjectDate; + nullable: ObjectDate | null; + optional: ObjectDate | undefined; + faint: ObjectDate | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectDescription.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectDescription.ts new file mode 100644 index 0000000000..ce39385d91 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectDescription.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectDescription } from "../../../structures/ObjectDescription"; + +export const test_llm_parameters_chatgpt_ObjectDescription = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectDescription", + })(typia.llm.parameters()); + +interface ObjectDescriptionParameters { + regular: ObjectDescription; + nullable: ObjectDescription | null; + optional: ObjectDescription | undefined; + faint: ObjectDescription | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectGenericAlias.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectGenericAlias.ts new file mode 100644 index 0000000000..ab49eb5c1e --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectGenericAlias.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericAlias } from "../../../structures/ObjectGenericAlias"; + +export const test_llm_parameters_chatgpt_ObjectGenericAlias = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectGenericAlias", + })(typia.llm.parameters()); + +interface ObjectGenericAliasParameters { + regular: ObjectGenericAlias; + nullable: ObjectGenericAlias | null; + optional: ObjectGenericAlias | undefined; + faint: ObjectGenericAlias | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectGenericArray.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectGenericArray.ts new file mode 100644 index 0000000000..0b3b95e065 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectGenericArray.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericArray } from "../../../structures/ObjectGenericArray"; + +export const test_llm_parameters_chatgpt_ObjectGenericArray = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectGenericArray", + })(typia.llm.parameters()); + +interface ObjectGenericArrayParameters { + regular: ObjectGenericArray; + nullable: ObjectGenericArray | null; + optional: ObjectGenericArray | undefined; + faint: ObjectGenericArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectGenericUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectGenericUnion.ts new file mode 100644 index 0000000000..e9a9722808 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectGenericUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericUnion } from "../../../structures/ObjectGenericUnion"; + +export const test_llm_parameters_chatgpt_ObjectGenericUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectGenericUnion", + })(typia.llm.parameters()); + +interface ObjectGenericUnionParameters { + regular: ObjectGenericUnion; + nullable: ObjectGenericUnion | null; + optional: ObjectGenericUnion | undefined; + faint: ObjectGenericUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectInternal.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectInternal.ts new file mode 100644 index 0000000000..304cc81022 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectInternal.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectInternal } from "../../../structures/ObjectInternal"; + +export const test_llm_parameters_chatgpt_ObjectInternal = _test_llm_parameters({ + model: "chatgpt", + name: "ObjectInternal", +})(typia.llm.parameters()); + +interface ObjectInternalParameters { + regular: ObjectInternal; + nullable: ObjectInternal | null; + optional: ObjectInternal | undefined; + faint: ObjectInternal | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectIntersection.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectIntersection.ts new file mode 100644 index 0000000000..330ae07e78 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectIntersection.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectIntersection } from "../../../structures/ObjectIntersection"; + +export const test_llm_parameters_chatgpt_ObjectIntersection = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectIntersection", + })(typia.llm.parameters()); + +interface ObjectIntersectionParameters { + regular: ObjectIntersection; + nullable: ObjectIntersection | null; + optional: ObjectIntersection | undefined; + faint: ObjectIntersection | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectJsonTag.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectJsonTag.ts new file mode 100644 index 0000000000..d40a1bd86e --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectJsonTag.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectJsonTag } from "../../../structures/ObjectJsonTag"; + +export const test_llm_parameters_chatgpt_ObjectJsonTag = _test_llm_parameters({ + model: "chatgpt", + name: "ObjectJsonTag", +})(typia.llm.parameters()); + +interface ObjectJsonTagParameters { + regular: ObjectJsonTag; + nullable: ObjectJsonTag | null; + optional: ObjectJsonTag | undefined; + faint: ObjectJsonTag | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectLiteralProperty.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectLiteralProperty.ts new file mode 100644 index 0000000000..7988830313 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectLiteralProperty.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectLiteralProperty } from "../../../structures/ObjectLiteralProperty"; + +export const test_llm_parameters_chatgpt_ObjectLiteralProperty = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectLiteralProperty", + })(typia.llm.parameters()); + +interface ObjectLiteralPropertyParameters { + regular: ObjectLiteralProperty; + nullable: ObjectLiteralProperty | null; + optional: ObjectLiteralProperty | undefined; + faint: ObjectLiteralProperty | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectLiteralType.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectLiteralType.ts new file mode 100644 index 0000000000..f40f8ab09e --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectLiteralType.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectLiteralType } from "../../../structures/ObjectLiteralType"; + +export const test_llm_parameters_chatgpt_ObjectLiteralType = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectLiteralType", + })(typia.llm.parameters()); + +interface ObjectLiteralTypeParameters { + regular: ObjectLiteralType; + nullable: ObjectLiteralType | null; + optional: ObjectLiteralType | undefined; + faint: ObjectLiteralType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectNullable.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectNullable.ts new file mode 100644 index 0000000000..c78be2007a --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectNullable.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectNullable } from "../../../structures/ObjectNullable"; + +export const test_llm_parameters_chatgpt_ObjectNullable = _test_llm_parameters({ + model: "chatgpt", + name: "ObjectNullable", +})(typia.llm.parameters()); + +interface ObjectNullableParameters { + regular: ObjectNullable; + nullable: ObjectNullable | null; + optional: ObjectNullable | undefined; + faint: ObjectNullable | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectOptional.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectOptional.ts new file mode 100644 index 0000000000..68f72a279f --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectOptional.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectOptional } from "../../../structures/ObjectOptional"; + +export const test_llm_parameters_chatgpt_ObjectOptional = _test_llm_parameters({ + model: "chatgpt", + name: "ObjectOptional", +})(typia.llm.parameters()); + +interface ObjectOptionalParameters { + regular: ObjectOptional; + nullable: ObjectOptional | null; + optional: ObjectOptional | undefined; + faint: ObjectOptional | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectPartial.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectPartial.ts new file mode 100644 index 0000000000..5b3af59606 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectPartial.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPartial } from "../../../structures/ObjectPartial"; + +export const test_llm_parameters_chatgpt_ObjectPartial = _test_llm_parameters({ + model: "chatgpt", + name: "ObjectPartial", +})(typia.llm.parameters()); + +interface ObjectPartialParameters { + regular: ObjectPartial; + nullable: ObjectPartial | null; + optional: ObjectPartial | undefined; + faint: ObjectPartial | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectPartialAndRequired.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectPartialAndRequired.ts new file mode 100644 index 0000000000..ee60cb0991 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectPartialAndRequired.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPartialAndRequired } from "../../../structures/ObjectPartialAndRequired"; + +export const test_llm_parameters_chatgpt_ObjectPartialAndRequired = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectPartialAndRequired", + })(typia.llm.parameters()); + +interface ObjectPartialAndRequiredParameters { + regular: ObjectPartialAndRequired; + nullable: ObjectPartialAndRequired | null; + optional: ObjectPartialAndRequired | undefined; + faint: ObjectPartialAndRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectPrimitive.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectPrimitive.ts new file mode 100644 index 0000000000..3df6bdb077 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectPrimitive.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPrimitive } from "../../../structures/ObjectPrimitive"; + +export const test_llm_parameters_chatgpt_ObjectPrimitive = _test_llm_parameters( + { + model: "chatgpt", + name: "ObjectPrimitive", + }, +)(typia.llm.parameters()); + +interface ObjectPrimitiveParameters { + regular: ObjectPrimitive; + nullable: ObjectPrimitive | null; + optional: ObjectPrimitive | undefined; + faint: ObjectPrimitive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectRecursive.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectRecursive.ts new file mode 100644 index 0000000000..4fe8c13fe6 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectRecursive.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectRecursive } from "../../../structures/ObjectRecursive"; + +export const test_llm_parameters_chatgpt_ObjectRecursive = _test_llm_parameters( + { + model: "chatgpt", + name: "ObjectRecursive", + }, +)(typia.llm.parameters()); + +interface ObjectRecursiveParameters { + regular: ObjectRecursive; + nullable: ObjectRecursive | null; + optional: ObjectRecursive | undefined; + faint: ObjectRecursive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectRequired.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectRequired.ts new file mode 100644 index 0000000000..d91c288838 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectRequired.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectRequired } from "../../../structures/ObjectRequired"; + +export const test_llm_parameters_chatgpt_ObjectRequired = _test_llm_parameters({ + model: "chatgpt", + name: "ObjectRequired", +})(typia.llm.parameters()); + +interface ObjectRequiredParameters { + regular: ObjectRequired; + nullable: ObjectRequired | null; + optional: ObjectRequired | undefined; + faint: ObjectRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectSimple.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectSimple.ts new file mode 100644 index 0000000000..3463e3c6d5 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectSimple.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectSimple } from "../../../structures/ObjectSimple"; + +export const test_llm_parameters_chatgpt_ObjectSimple = _test_llm_parameters({ + model: "chatgpt", + name: "ObjectSimple", +})(typia.llm.parameters()); + +interface ObjectSimpleParameters { + regular: ObjectSimple; + nullable: ObjectSimple | null; + optional: ObjectSimple | undefined; + faint: ObjectSimple | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUndefined.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUndefined.ts new file mode 100644 index 0000000000..44379372c8 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUndefined.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUndefined } from "../../../structures/ObjectUndefined"; + +export const test_llm_parameters_chatgpt_ObjectUndefined = _test_llm_parameters( + { + model: "chatgpt", + name: "ObjectUndefined", + }, +)(typia.llm.parameters()); + +interface ObjectUndefinedParameters { + regular: ObjectUndefined; + nullable: ObjectUndefined | null; + optional: ObjectUndefined | undefined; + faint: ObjectUndefined | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionComposite.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionComposite.ts new file mode 100644 index 0000000000..f4b23ba240 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionComposite.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionComposite } from "../../../structures/ObjectUnionComposite"; + +export const test_llm_parameters_chatgpt_ObjectUnionComposite = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectUnionComposite", + })(typia.llm.parameters()); + +interface ObjectUnionCompositeParameters { + regular: ObjectUnionComposite; + nullable: ObjectUnionComposite | null; + optional: ObjectUnionComposite | undefined; + faint: ObjectUnionComposite | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionCompositePointer.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionCompositePointer.ts new file mode 100644 index 0000000000..e1a4da840c --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionCompositePointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionCompositePointer } from "../../../structures/ObjectUnionCompositePointer"; + +export const test_llm_parameters_chatgpt_ObjectUnionCompositePointer = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectUnionCompositePointer", + })(typia.llm.parameters()); + +interface ObjectUnionCompositePointerParameters { + regular: ObjectUnionCompositePointer; + nullable: ObjectUnionCompositePointer | null; + optional: ObjectUnionCompositePointer | undefined; + faint: ObjectUnionCompositePointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionDouble.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionDouble.ts new file mode 100644 index 0000000000..6caa309e41 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionDouble.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionDouble } from "../../../structures/ObjectUnionDouble"; + +export const test_llm_parameters_chatgpt_ObjectUnionDouble = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectUnionDouble", + })(typia.llm.parameters()); + +interface ObjectUnionDoubleParameters { + regular: ObjectUnionDouble; + nullable: ObjectUnionDouble | null; + optional: ObjectUnionDouble | undefined; + faint: ObjectUnionDouble | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionExplicit.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionExplicit.ts new file mode 100644 index 0000000000..2be65dd3cb --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionExplicit.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionExplicit } from "../../../structures/ObjectUnionExplicit"; + +export const test_llm_parameters_chatgpt_ObjectUnionExplicit = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectUnionExplicit", + })(typia.llm.parameters()); + +interface ObjectUnionExplicitParameters { + regular: ObjectUnionExplicit; + nullable: ObjectUnionExplicit | null; + optional: ObjectUnionExplicit | undefined; + faint: ObjectUnionExplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionExplicitPointer.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionExplicitPointer.ts new file mode 100644 index 0000000000..8a87a0a42b --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionExplicitPointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionExplicitPointer } from "../../../structures/ObjectUnionExplicitPointer"; + +export const test_llm_parameters_chatgpt_ObjectUnionExplicitPointer = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectUnionExplicitPointer", + })(typia.llm.parameters()); + +interface ObjectUnionExplicitPointerParameters { + regular: ObjectUnionExplicitPointer; + nullable: ObjectUnionExplicitPointer | null; + optional: ObjectUnionExplicitPointer | undefined; + faint: ObjectUnionExplicitPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionImplicit.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionImplicit.ts new file mode 100644 index 0000000000..5d50720c10 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionImplicit.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionImplicit } from "../../../structures/ObjectUnionImplicit"; + +export const test_llm_parameters_chatgpt_ObjectUnionImplicit = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectUnionImplicit", + })(typia.llm.parameters()); + +interface ObjectUnionImplicitParameters { + regular: ObjectUnionImplicit; + nullable: ObjectUnionImplicit | null; + optional: ObjectUnionImplicit | undefined; + faint: ObjectUnionImplicit | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionNonPredictable.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionNonPredictable.ts new file mode 100644 index 0000000000..572613ed88 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ObjectUnionNonPredictable.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectUnionNonPredictable } from "../../../structures/ObjectUnionNonPredictable"; + +export const test_llm_parameters_chatgpt_ObjectUnionNonPredictable = + _test_llm_parameters({ + model: "chatgpt", + name: "ObjectUnionNonPredictable", + })(typia.llm.parameters()); + +interface ObjectUnionNonPredictableParameters { + regular: ObjectUnionNonPredictable; + nullable: ObjectUnionNonPredictable | null; + optional: ObjectUnionNonPredictable | undefined; + faint: ObjectUnionNonPredictable | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TemplateAtomic.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TemplateAtomic.ts new file mode 100644 index 0000000000..fa746d73c6 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TemplateAtomic.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateAtomic } from "../../../structures/TemplateAtomic"; + +export const test_llm_parameters_chatgpt_TemplateAtomic = _test_llm_parameters({ + model: "chatgpt", + name: "TemplateAtomic", +})(typia.llm.parameters()); + +interface TemplateAtomicParameters { + regular: TemplateAtomic; + nullable: TemplateAtomic | null; + optional: TemplateAtomic | undefined; + faint: TemplateAtomic | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TemplateConstant.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TemplateConstant.ts new file mode 100644 index 0000000000..2b57e9cb7b --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TemplateConstant.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateConstant } from "../../../structures/TemplateConstant"; + +export const test_llm_parameters_chatgpt_TemplateConstant = + _test_llm_parameters({ + model: "chatgpt", + name: "TemplateConstant", + })(typia.llm.parameters()); + +interface TemplateConstantParameters { + regular: TemplateConstant; + nullable: TemplateConstant | null; + optional: TemplateConstant | undefined; + faint: TemplateConstant | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TemplateUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TemplateUnion.ts new file mode 100644 index 0000000000..c685a1bcdc --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TemplateUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateUnion } from "../../../structures/TemplateUnion"; + +export const test_llm_parameters_chatgpt_TemplateUnion = _test_llm_parameters({ + model: "chatgpt", + name: "TemplateUnion", +})(typia.llm.parameters()); + +interface TemplateUnionParameters { + regular: TemplateUnion; + nullable: TemplateUnion | null; + optional: TemplateUnion | undefined; + faint: TemplateUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonAtomicUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonAtomicUnion.ts new file mode 100644 index 0000000000..218f67fab2 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonAtomicUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonAtomicUnion } from "../../../structures/ToJsonAtomicUnion"; + +export const test_llm_parameters_chatgpt_ToJsonAtomicUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "ToJsonAtomicUnion", + })(typia.llm.parameters()); + +interface ToJsonAtomicUnionParameters { + regular: ToJsonAtomicUnion; + nullable: ToJsonAtomicUnion | null; + optional: ToJsonAtomicUnion | undefined; + faint: ToJsonAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonDouble.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonDouble.ts new file mode 100644 index 0000000000..e25692bcec --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonDouble.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonDouble } from "../../../structures/ToJsonDouble"; + +export const test_llm_parameters_chatgpt_ToJsonDouble = _test_llm_parameters({ + model: "chatgpt", + name: "ToJsonDouble", +})(typia.llm.parameters()); + +interface ToJsonDoubleParameters { + regular: ToJsonDouble; + nullable: ToJsonDouble | null; + optional: ToJsonDouble | undefined; + faint: ToJsonDouble | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonNull.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonNull.ts new file mode 100644 index 0000000000..742c3f3d60 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonNull.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonNull } from "../../../structures/ToJsonNull"; + +export const test_llm_parameters_chatgpt_ToJsonNull = _test_llm_parameters({ + model: "chatgpt", + name: "ToJsonNull", +})(typia.llm.parameters()); + +interface ToJsonNullParameters { + regular: ToJsonNull; + nullable: ToJsonNull | null; + optional: ToJsonNull | undefined; + faint: ToJsonNull | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonUnion.ts new file mode 100644 index 0000000000..1318b76bd7 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_ToJsonUnion.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonUnion } from "../../../structures/ToJsonUnion"; + +export const test_llm_parameters_chatgpt_ToJsonUnion = _test_llm_parameters({ + model: "chatgpt", + name: "ToJsonUnion", +})(typia.llm.parameters()); + +interface ToJsonUnionParameters { + regular: ToJsonUnion; + nullable: ToJsonUnion | null; + optional: ToJsonUnion | undefined; + faint: ToJsonUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagArray.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagArray.ts new file mode 100644 index 0000000000..3e2368c208 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagArray.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagArray } from "../../../structures/TypeTagArray"; + +export const test_llm_parameters_chatgpt_TypeTagArray = _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagArray", +})(typia.llm.parameters()); + +interface TypeTagArrayParameters { + regular: TypeTagArray; + nullable: TypeTagArray | null; + optional: TypeTagArray | undefined; + faint: TypeTagArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagArrayUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagArrayUnion.ts new file mode 100644 index 0000000000..78ad1ce66b --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagArrayUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagArrayUnion } from "../../../structures/TypeTagArrayUnion"; + +export const test_llm_parameters_chatgpt_TypeTagArrayUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagArrayUnion", + })(typia.llm.parameters()); + +interface TypeTagArrayUnionParameters { + regular: TypeTagArrayUnion; + nullable: TypeTagArrayUnion | null; + optional: TypeTagArrayUnion | undefined; + faint: TypeTagArrayUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagAtomicUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagAtomicUnion.ts new file mode 100644 index 0000000000..26057c5c98 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagAtomicUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagAtomicUnion } from "../../../structures/TypeTagAtomicUnion"; + +export const test_llm_parameters_chatgpt_TypeTagAtomicUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagAtomicUnion", + })(typia.llm.parameters()); + +interface TypeTagAtomicUnionParameters { + regular: TypeTagAtomicUnion; + nullable: TypeTagAtomicUnion | null; + optional: TypeTagAtomicUnion | undefined; + faint: TypeTagAtomicUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagCustom.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagCustom.ts new file mode 100644 index 0000000000..711594ee67 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagCustom.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagCustom } from "../../../structures/TypeTagCustom"; + +export const test_llm_parameters_chatgpt_TypeTagCustom = _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagCustom", +})(typia.llm.parameters()); + +interface TypeTagCustomParameters { + regular: TypeTagCustom; + nullable: TypeTagCustom | null; + optional: TypeTagCustom | undefined; + faint: TypeTagCustom | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagDefault.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagDefault.ts new file mode 100644 index 0000000000..089c3f37b7 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagDefault.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagDefault } from "../../../structures/TypeTagDefault"; + +export const test_llm_parameters_chatgpt_TypeTagDefault = _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagDefault", +})(typia.llm.parameters()); + +interface TypeTagDefaultParameters { + regular: TypeTagDefault; + nullable: TypeTagDefault | null; + optional: TypeTagDefault | undefined; + faint: TypeTagDefault | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagFormat.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagFormat.ts new file mode 100644 index 0000000000..98ba2f5c3b --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagFormat.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagFormat } from "../../../structures/TypeTagFormat"; + +export const test_llm_parameters_chatgpt_TypeTagFormat = _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagFormat", +})(typia.llm.parameters()); + +interface TypeTagFormatParameters { + regular: TypeTagFormat; + nullable: TypeTagFormat | null; + optional: TypeTagFormat | undefined; + faint: TypeTagFormat | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagLength.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagLength.ts new file mode 100644 index 0000000000..84fbee801f --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagLength.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagLength } from "../../../structures/TypeTagLength"; + +export const test_llm_parameters_chatgpt_TypeTagLength = _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagLength", +})(typia.llm.parameters()); + +interface TypeTagLengthParameters { + regular: TypeTagLength; + nullable: TypeTagLength | null; + optional: TypeTagLength | undefined; + faint: TypeTagLength | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagMatrix.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagMatrix.ts new file mode 100644 index 0000000000..7a45d6e65e --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagMatrix.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagMatrix } from "../../../structures/TypeTagMatrix"; + +export const test_llm_parameters_chatgpt_TypeTagMatrix = _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagMatrix", +})(typia.llm.parameters()); + +interface TypeTagMatrixParameters { + regular: TypeTagMatrix; + nullable: TypeTagMatrix | null; + optional: TypeTagMatrix | undefined; + faint: TypeTagMatrix | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagObjectUnion.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagObjectUnion.ts new file mode 100644 index 0000000000..2db9ce04ef --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagObjectUnion.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagObjectUnion } from "../../../structures/TypeTagObjectUnion"; + +export const test_llm_parameters_chatgpt_TypeTagObjectUnion = + _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagObjectUnion", + })(typia.llm.parameters()); + +interface TypeTagObjectUnionParameters { + regular: TypeTagObjectUnion; + nullable: TypeTagObjectUnion | null; + optional: TypeTagObjectUnion | undefined; + faint: TypeTagObjectUnion | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagPattern.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagPattern.ts new file mode 100644 index 0000000000..bd988472fd --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagPattern.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagPattern } from "../../../structures/TypeTagPattern"; + +export const test_llm_parameters_chatgpt_TypeTagPattern = _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagPattern", +})(typia.llm.parameters()); + +interface TypeTagPatternParameters { + regular: TypeTagPattern; + nullable: TypeTagPattern | null; + optional: TypeTagPattern | undefined; + faint: TypeTagPattern | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagRange.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagRange.ts new file mode 100644 index 0000000000..ba32dd2822 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagRange.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagRange } from "../../../structures/TypeTagRange"; + +export const test_llm_parameters_chatgpt_TypeTagRange = _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagRange", +})(typia.llm.parameters()); + +interface TypeTagRangeParameters { + regular: TypeTagRange; + nullable: TypeTagRange | null; + optional: TypeTagRange | undefined; + faint: TypeTagRange | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagType.ts b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagType.ts new file mode 100644 index 0000000000..4357170cb6 --- /dev/null +++ b/test/src/features/llm.parameters/chatgpt/test_llm_parameters_chatgpt_TypeTagType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagType } from "../../../structures/TypeTagType"; + +export const test_llm_parameters_chatgpt_TypeTagType = _test_llm_parameters({ + model: "chatgpt", + name: "TypeTagType", +})(typia.llm.parameters()); + +interface TypeTagTypeParameters { + regular: TypeTagType; + nullable: TypeTagType | null; + optional: TypeTagType | undefined; + faint: TypeTagType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayAny.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayAny.ts new file mode 100644 index 0000000000..dde72b83cd --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayAny.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayAny } from "../../../structures/ArrayAny"; + +export const test_llm_parameters_gemini_ArrayAny = _test_llm_parameters({ + model: "gemini", + name: "ArrayAny", +})(typia.llm.parameters()); + +interface ArrayAnyParameters { + regular: ArrayAny; + nullable: ArrayAny | null; + optional: ArrayAny | undefined; + faint: ArrayAny | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayHierarchical.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayHierarchical.ts new file mode 100644 index 0000000000..a74361a46c --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayHierarchical.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayHierarchical } from "../../../structures/ArrayHierarchical"; + +export const test_llm_parameters_gemini_ArrayHierarchical = + _test_llm_parameters({ + model: "gemini", + name: "ArrayHierarchical", + })(typia.llm.parameters()); + +interface ArrayHierarchicalParameters { + regular: ArrayHierarchical; + nullable: ArrayHierarchical | null; + optional: ArrayHierarchical | undefined; + faint: ArrayHierarchical | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayHierarchicalPointer.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayHierarchicalPointer.ts new file mode 100644 index 0000000000..962d401738 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayHierarchicalPointer.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayHierarchicalPointer } from "../../../structures/ArrayHierarchicalPointer"; + +export const test_llm_parameters_gemini_ArrayHierarchicalPointer = + _test_llm_parameters({ + model: "gemini", + name: "ArrayHierarchicalPointer", + })(typia.llm.parameters()); + +interface ArrayHierarchicalPointerParameters { + regular: ArrayHierarchicalPointer; + nullable: ArrayHierarchicalPointer | null; + optional: ArrayHierarchicalPointer | undefined; + faint: ArrayHierarchicalPointer | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayMatrix.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayMatrix.ts new file mode 100644 index 0000000000..645cf4f4f4 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayMatrix.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayMatrix } from "../../../structures/ArrayMatrix"; + +export const test_llm_parameters_gemini_ArrayMatrix = _test_llm_parameters({ + model: "gemini", + name: "ArrayMatrix", +})(typia.llm.parameters()); + +interface ArrayMatrixParameters { + regular: ArrayMatrix; + nullable: ArrayMatrix | null; + optional: ArrayMatrix | undefined; + faint: ArrayMatrix | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayRecursive.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayRecursive.ts new file mode 100644 index 0000000000..e6ab288717 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArrayRecursive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArrayRecursive } from "../../../structures/ArrayRecursive"; + +export const test_llm_parameters_gemini_ArrayRecursive = _test_llm_parameters({ + model: "gemini", + name: "ArrayRecursive", +})(typia.llm.parameters()); + +interface ArrayRecursiveParameters { + regular: ArrayRecursive; + nullable: ArrayRecursive | null; + optional: ArrayRecursive | undefined; + faint: ArrayRecursive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArraySimple.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArraySimple.ts new file mode 100644 index 0000000000..e06d64f905 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ArraySimple.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ArraySimple } from "../../../structures/ArraySimple"; + +export const test_llm_parameters_gemini_ArraySimple = _test_llm_parameters({ + model: "gemini", + name: "ArraySimple", +})(typia.llm.parameters()); + +interface ArraySimpleParameters { + regular: ArraySimple; + nullable: ArraySimple | null; + optional: ArraySimple | undefined; + faint: ArraySimple | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ClassGetter.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ClassGetter.ts new file mode 100644 index 0000000000..f40f0be9de --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ClassGetter.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassGetter } from "../../../structures/ClassGetter"; + +export const test_llm_parameters_gemini_ClassGetter = _test_llm_parameters({ + model: "gemini", + name: "ClassGetter", +})(typia.llm.parameters()); + +interface ClassGetterParameters { + regular: ClassGetter; + nullable: ClassGetter | null; + optional: ClassGetter | undefined; + faint: ClassGetter | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ClassMethod.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ClassMethod.ts new file mode 100644 index 0000000000..258f81624a --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ClassMethod.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassMethod } from "../../../structures/ClassMethod"; + +export const test_llm_parameters_gemini_ClassMethod = _test_llm_parameters({ + model: "gemini", + name: "ClassMethod", +})(typia.llm.parameters()); + +interface ClassMethodParameters { + regular: ClassMethod; + nullable: ClassMethod | null; + optional: ClassMethod | undefined; + faint: ClassMethod | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ClassPropertyAssignment.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ClassPropertyAssignment.ts new file mode 100644 index 0000000000..b8c4ed58da --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ClassPropertyAssignment.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ClassPropertyAssignment } from "../../../structures/ClassPropertyAssignment"; + +export const test_llm_parameters_gemini_ClassPropertyAssignment = + _test_llm_parameters({ + model: "gemini", + name: "ClassPropertyAssignment", + })(typia.llm.parameters()); + +interface ClassPropertyAssignmentParameters { + regular: ClassPropertyAssignment; + nullable: ClassPropertyAssignment | null; + optional: ClassPropertyAssignment | undefined; + faint: ClassPropertyAssignment | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagArray.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagArray.ts new file mode 100644 index 0000000000..7921baa727 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagArray.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagArray } from "../../../structures/CommentTagArray"; + +export const test_llm_parameters_gemini_CommentTagArray = _test_llm_parameters({ + model: "gemini", + name: "CommentTagArray", +})(typia.llm.parameters()); + +interface CommentTagArrayParameters { + regular: CommentTagArray; + nullable: CommentTagArray | null; + optional: CommentTagArray | undefined; + faint: CommentTagArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagFormat.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagFormat.ts new file mode 100644 index 0000000000..868d1f0d0f --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagFormat.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagFormat } from "../../../structures/CommentTagFormat"; + +export const test_llm_parameters_gemini_CommentTagFormat = _test_llm_parameters( + { + model: "gemini", + name: "CommentTagFormat", + }, +)(typia.llm.parameters()); + +interface CommentTagFormatParameters { + regular: CommentTagFormat; + nullable: CommentTagFormat | null; + optional: CommentTagFormat | undefined; + faint: CommentTagFormat | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagLength.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagLength.ts new file mode 100644 index 0000000000..4835030ff1 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagLength.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagLength } from "../../../structures/CommentTagLength"; + +export const test_llm_parameters_gemini_CommentTagLength = _test_llm_parameters( + { + model: "gemini", + name: "CommentTagLength", + }, +)(typia.llm.parameters()); + +interface CommentTagLengthParameters { + regular: CommentTagLength; + nullable: CommentTagLength | null; + optional: CommentTagLength | undefined; + faint: CommentTagLength | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagPattern.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagPattern.ts new file mode 100644 index 0000000000..2d6ca9ea01 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagPattern.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagPattern } from "../../../structures/CommentTagPattern"; + +export const test_llm_parameters_gemini_CommentTagPattern = + _test_llm_parameters({ + model: "gemini", + name: "CommentTagPattern", + })(typia.llm.parameters()); + +interface CommentTagPatternParameters { + regular: CommentTagPattern; + nullable: CommentTagPattern | null; + optional: CommentTagPattern | undefined; + faint: CommentTagPattern | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagRange.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagRange.ts new file mode 100644 index 0000000000..6030cb8059 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagRange.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagRange } from "../../../structures/CommentTagRange"; + +export const test_llm_parameters_gemini_CommentTagRange = _test_llm_parameters({ + model: "gemini", + name: "CommentTagRange", +})(typia.llm.parameters()); + +interface CommentTagRangeParameters { + regular: CommentTagRange; + nullable: CommentTagRange | null; + optional: CommentTagRange | undefined; + faint: CommentTagRange | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagType.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagType.ts new file mode 100644 index 0000000000..d03751f472 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_CommentTagType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { CommentTagType } from "../../../structures/CommentTagType"; + +export const test_llm_parameters_gemini_CommentTagType = _test_llm_parameters({ + model: "gemini", + name: "CommentTagType", +})(typia.llm.parameters()); + +interface CommentTagTypeParameters { + regular: CommentTagType; + nullable: CommentTagType | null; + optional: CommentTagType | undefined; + faint: CommentTagType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ConstantAtomicAbsorbed.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ConstantAtomicAbsorbed.ts new file mode 100644 index 0000000000..999e3ee3e1 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ConstantAtomicAbsorbed.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ConstantAtomicAbsorbed } from "../../../structures/ConstantAtomicAbsorbed"; + +export const test_llm_parameters_gemini_ConstantAtomicAbsorbed = + _test_llm_parameters({ + model: "gemini", + name: "ConstantAtomicAbsorbed", + })(typia.llm.parameters()); + +interface ConstantAtomicAbsorbedParameters { + regular: ConstantAtomicAbsorbed; + nullable: ConstantAtomicAbsorbed | null; + optional: ConstantAtomicAbsorbed | undefined; + faint: ConstantAtomicAbsorbed | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicConstant.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicConstant.ts new file mode 100644 index 0000000000..cc88378f9e --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicConstant.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicConstant } from "../../../structures/DynamicConstant"; + +export const test_llm_parameters_gemini_DynamicConstant = _test_llm_parameters({ + model: "gemini", + name: "DynamicConstant", +})(typia.llm.parameters()); + +interface DynamicConstantParameters { + regular: DynamicConstant; + nullable: DynamicConstant | null; + optional: DynamicConstant | undefined; + faint: DynamicConstant | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicEnumeration.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicEnumeration.ts new file mode 100644 index 0000000000..e85223ac70 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicEnumeration.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicEnumeration } from "../../../structures/DynamicEnumeration"; + +export const test_llm_parameters_gemini_DynamicEnumeration = + _test_llm_parameters({ + model: "gemini", + name: "DynamicEnumeration", + })(typia.llm.parameters()); + +interface DynamicEnumerationParameters { + regular: DynamicEnumeration; + nullable: DynamicEnumeration | null; + optional: DynamicEnumeration | undefined; + faint: DynamicEnumeration | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicNever.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicNever.ts new file mode 100644 index 0000000000..220a7c9797 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicNever.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicNever } from "../../../structures/DynamicNever"; + +export const test_llm_parameters_gemini_DynamicNever = _test_llm_parameters({ + model: "gemini", + name: "DynamicNever", +})(typia.llm.parameters()); + +interface DynamicNeverParameters { + regular: DynamicNever; + nullable: DynamicNever | null; + optional: DynamicNever | undefined; + faint: DynamicNever | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicUndefined.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicUndefined.ts new file mode 100644 index 0000000000..d960752a2e --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_DynamicUndefined.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { DynamicUndefined } from "../../../structures/DynamicUndefined"; + +export const test_llm_parameters_gemini_DynamicUndefined = _test_llm_parameters( + { + model: "gemini", + name: "DynamicUndefined", + }, +)(typia.llm.parameters()); + +interface DynamicUndefinedParameters { + regular: DynamicUndefined; + nullable: DynamicUndefined | null; + optional: DynamicUndefined | undefined; + faint: DynamicUndefined | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectDate.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectDate.ts new file mode 100644 index 0000000000..349e9d7312 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectDate.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectDate } from "../../../structures/ObjectDate"; + +export const test_llm_parameters_gemini_ObjectDate = _test_llm_parameters({ + model: "gemini", + name: "ObjectDate", +})(typia.llm.parameters()); + +interface ObjectDateParameters { + regular: ObjectDate; + nullable: ObjectDate | null; + optional: ObjectDate | undefined; + faint: ObjectDate | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectDescription.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectDescription.ts new file mode 100644 index 0000000000..ecbe1d1a01 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectDescription.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectDescription } from "../../../structures/ObjectDescription"; + +export const test_llm_parameters_gemini_ObjectDescription = + _test_llm_parameters({ + model: "gemini", + name: "ObjectDescription", + })(typia.llm.parameters()); + +interface ObjectDescriptionParameters { + regular: ObjectDescription; + nullable: ObjectDescription | null; + optional: ObjectDescription | undefined; + faint: ObjectDescription | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectGenericAlias.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectGenericAlias.ts new file mode 100644 index 0000000000..ec01349ffc --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectGenericAlias.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericAlias } from "../../../structures/ObjectGenericAlias"; + +export const test_llm_parameters_gemini_ObjectGenericAlias = + _test_llm_parameters({ + model: "gemini", + name: "ObjectGenericAlias", + })(typia.llm.parameters()); + +interface ObjectGenericAliasParameters { + regular: ObjectGenericAlias; + nullable: ObjectGenericAlias | null; + optional: ObjectGenericAlias | undefined; + faint: ObjectGenericAlias | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectGenericArray.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectGenericArray.ts new file mode 100644 index 0000000000..d82f1062aa --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectGenericArray.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectGenericArray } from "../../../structures/ObjectGenericArray"; + +export const test_llm_parameters_gemini_ObjectGenericArray = + _test_llm_parameters({ + model: "gemini", + name: "ObjectGenericArray", + })(typia.llm.parameters()); + +interface ObjectGenericArrayParameters { + regular: ObjectGenericArray; + nullable: ObjectGenericArray | null; + optional: ObjectGenericArray | undefined; + faint: ObjectGenericArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectInternal.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectInternal.ts new file mode 100644 index 0000000000..b86bb2921a --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectInternal.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectInternal } from "../../../structures/ObjectInternal"; + +export const test_llm_parameters_gemini_ObjectInternal = _test_llm_parameters({ + model: "gemini", + name: "ObjectInternal", +})(typia.llm.parameters()); + +interface ObjectInternalParameters { + regular: ObjectInternal; + nullable: ObjectInternal | null; + optional: ObjectInternal | undefined; + faint: ObjectInternal | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectIntersection.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectIntersection.ts new file mode 100644 index 0000000000..40723c8353 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectIntersection.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectIntersection } from "../../../structures/ObjectIntersection"; + +export const test_llm_parameters_gemini_ObjectIntersection = + _test_llm_parameters({ + model: "gemini", + name: "ObjectIntersection", + })(typia.llm.parameters()); + +interface ObjectIntersectionParameters { + regular: ObjectIntersection; + nullable: ObjectIntersection | null; + optional: ObjectIntersection | undefined; + faint: ObjectIntersection | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectJsonTag.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectJsonTag.ts new file mode 100644 index 0000000000..b882562691 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectJsonTag.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectJsonTag } from "../../../structures/ObjectJsonTag"; + +export const test_llm_parameters_gemini_ObjectJsonTag = _test_llm_parameters({ + model: "gemini", + name: "ObjectJsonTag", +})(typia.llm.parameters()); + +interface ObjectJsonTagParameters { + regular: ObjectJsonTag; + nullable: ObjectJsonTag | null; + optional: ObjectJsonTag | undefined; + faint: ObjectJsonTag | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectLiteralProperty.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectLiteralProperty.ts new file mode 100644 index 0000000000..d862484959 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectLiteralProperty.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectLiteralProperty } from "../../../structures/ObjectLiteralProperty"; + +export const test_llm_parameters_gemini_ObjectLiteralProperty = + _test_llm_parameters({ + model: "gemini", + name: "ObjectLiteralProperty", + })(typia.llm.parameters()); + +interface ObjectLiteralPropertyParameters { + regular: ObjectLiteralProperty; + nullable: ObjectLiteralProperty | null; + optional: ObjectLiteralProperty | undefined; + faint: ObjectLiteralProperty | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectLiteralType.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectLiteralType.ts new file mode 100644 index 0000000000..6055378e04 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectLiteralType.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectLiteralType } from "../../../structures/ObjectLiteralType"; + +export const test_llm_parameters_gemini_ObjectLiteralType = + _test_llm_parameters({ + model: "gemini", + name: "ObjectLiteralType", + })(typia.llm.parameters()); + +interface ObjectLiteralTypeParameters { + regular: ObjectLiteralType; + nullable: ObjectLiteralType | null; + optional: ObjectLiteralType | undefined; + faint: ObjectLiteralType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectOptional.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectOptional.ts new file mode 100644 index 0000000000..4056b41331 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectOptional.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectOptional } from "../../../structures/ObjectOptional"; + +export const test_llm_parameters_gemini_ObjectOptional = _test_llm_parameters({ + model: "gemini", + name: "ObjectOptional", +})(typia.llm.parameters()); + +interface ObjectOptionalParameters { + regular: ObjectOptional; + nullable: ObjectOptional | null; + optional: ObjectOptional | undefined; + faint: ObjectOptional | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectPartial.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectPartial.ts new file mode 100644 index 0000000000..c479b1c160 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectPartial.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPartial } from "../../../structures/ObjectPartial"; + +export const test_llm_parameters_gemini_ObjectPartial = _test_llm_parameters({ + model: "gemini", + name: "ObjectPartial", +})(typia.llm.parameters()); + +interface ObjectPartialParameters { + regular: ObjectPartial; + nullable: ObjectPartial | null; + optional: ObjectPartial | undefined; + faint: ObjectPartial | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectPartialAndRequired.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectPartialAndRequired.ts new file mode 100644 index 0000000000..7d404f27b6 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectPartialAndRequired.ts @@ -0,0 +1,18 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPartialAndRequired } from "../../../structures/ObjectPartialAndRequired"; + +export const test_llm_parameters_gemini_ObjectPartialAndRequired = + _test_llm_parameters({ + model: "gemini", + name: "ObjectPartialAndRequired", + })(typia.llm.parameters()); + +interface ObjectPartialAndRequiredParameters { + regular: ObjectPartialAndRequired; + nullable: ObjectPartialAndRequired | null; + optional: ObjectPartialAndRequired | undefined; + faint: ObjectPartialAndRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectPrimitive.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectPrimitive.ts new file mode 100644 index 0000000000..56f23b0d00 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectPrimitive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectPrimitive } from "../../../structures/ObjectPrimitive"; + +export const test_llm_parameters_gemini_ObjectPrimitive = _test_llm_parameters({ + model: "gemini", + name: "ObjectPrimitive", +})(typia.llm.parameters()); + +interface ObjectPrimitiveParameters { + regular: ObjectPrimitive; + nullable: ObjectPrimitive | null; + optional: ObjectPrimitive | undefined; + faint: ObjectPrimitive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectRecursive.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectRecursive.ts new file mode 100644 index 0000000000..d792edcbb1 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectRecursive.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectRecursive } from "../../../structures/ObjectRecursive"; + +export const test_llm_parameters_gemini_ObjectRecursive = _test_llm_parameters({ + model: "gemini", + name: "ObjectRecursive", +})(typia.llm.parameters()); + +interface ObjectRecursiveParameters { + regular: ObjectRecursive; + nullable: ObjectRecursive | null; + optional: ObjectRecursive | undefined; + faint: ObjectRecursive | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectRequired.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectRequired.ts new file mode 100644 index 0000000000..59704e9a97 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectRequired.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectRequired } from "../../../structures/ObjectRequired"; + +export const test_llm_parameters_gemini_ObjectRequired = _test_llm_parameters({ + model: "gemini", + name: "ObjectRequired", +})(typia.llm.parameters()); + +interface ObjectRequiredParameters { + regular: ObjectRequired; + nullable: ObjectRequired | null; + optional: ObjectRequired | undefined; + faint: ObjectRequired | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectSimple.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectSimple.ts new file mode 100644 index 0000000000..9996661834 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ObjectSimple.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ObjectSimple } from "../../../structures/ObjectSimple"; + +export const test_llm_parameters_gemini_ObjectSimple = _test_llm_parameters({ + model: "gemini", + name: "ObjectSimple", +})(typia.llm.parameters()); + +interface ObjectSimpleParameters { + regular: ObjectSimple; + nullable: ObjectSimple | null; + optional: ObjectSimple | undefined; + faint: ObjectSimple | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TemplateAtomic.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TemplateAtomic.ts new file mode 100644 index 0000000000..7b987d2b1a --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TemplateAtomic.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateAtomic } from "../../../structures/TemplateAtomic"; + +export const test_llm_parameters_gemini_TemplateAtomic = _test_llm_parameters({ + model: "gemini", + name: "TemplateAtomic", +})(typia.llm.parameters()); + +interface TemplateAtomicParameters { + regular: TemplateAtomic; + nullable: TemplateAtomic | null; + optional: TemplateAtomic | undefined; + faint: TemplateAtomic | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TemplateConstant.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TemplateConstant.ts new file mode 100644 index 0000000000..bc125e44fd --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TemplateConstant.ts @@ -0,0 +1,19 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TemplateConstant } from "../../../structures/TemplateConstant"; + +export const test_llm_parameters_gemini_TemplateConstant = _test_llm_parameters( + { + model: "gemini", + name: "TemplateConstant", + }, +)(typia.llm.parameters()); + +interface TemplateConstantParameters { + regular: TemplateConstant; + nullable: TemplateConstant | null; + optional: TemplateConstant | undefined; + faint: TemplateConstant | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ToJsonDouble.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ToJsonDouble.ts new file mode 100644 index 0000000000..ca685fe590 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ToJsonDouble.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonDouble } from "../../../structures/ToJsonDouble"; + +export const test_llm_parameters_gemini_ToJsonDouble = _test_llm_parameters({ + model: "gemini", + name: "ToJsonDouble", +})(typia.llm.parameters()); + +interface ToJsonDoubleParameters { + regular: ToJsonDouble; + nullable: ToJsonDouble | null; + optional: ToJsonDouble | undefined; + faint: ToJsonDouble | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ToJsonNull.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ToJsonNull.ts new file mode 100644 index 0000000000..139aa02915 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_ToJsonNull.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { ToJsonNull } from "../../../structures/ToJsonNull"; + +export const test_llm_parameters_gemini_ToJsonNull = _test_llm_parameters({ + model: "gemini", + name: "ToJsonNull", +})(typia.llm.parameters()); + +interface ToJsonNullParameters { + regular: ToJsonNull; + nullable: ToJsonNull | null; + optional: ToJsonNull | undefined; + faint: ToJsonNull | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagArray.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagArray.ts new file mode 100644 index 0000000000..793c2afe81 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagArray.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagArray } from "../../../structures/TypeTagArray"; + +export const test_llm_parameters_gemini_TypeTagArray = _test_llm_parameters({ + model: "gemini", + name: "TypeTagArray", +})(typia.llm.parameters()); + +interface TypeTagArrayParameters { + regular: TypeTagArray; + nullable: TypeTagArray | null; + optional: TypeTagArray | undefined; + faint: TypeTagArray | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagCustom.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagCustom.ts new file mode 100644 index 0000000000..97698a69c5 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagCustom.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagCustom } from "../../../structures/TypeTagCustom"; + +export const test_llm_parameters_gemini_TypeTagCustom = _test_llm_parameters({ + model: "gemini", + name: "TypeTagCustom", +})(typia.llm.parameters()); + +interface TypeTagCustomParameters { + regular: TypeTagCustom; + nullable: TypeTagCustom | null; + optional: TypeTagCustom | undefined; + faint: TypeTagCustom | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagFormat.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagFormat.ts new file mode 100644 index 0000000000..f37902a92c --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagFormat.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagFormat } from "../../../structures/TypeTagFormat"; + +export const test_llm_parameters_gemini_TypeTagFormat = _test_llm_parameters({ + model: "gemini", + name: "TypeTagFormat", +})(typia.llm.parameters()); + +interface TypeTagFormatParameters { + regular: TypeTagFormat; + nullable: TypeTagFormat | null; + optional: TypeTagFormat | undefined; + faint: TypeTagFormat | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagLength.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagLength.ts new file mode 100644 index 0000000000..318faca314 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagLength.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagLength } from "../../../structures/TypeTagLength"; + +export const test_llm_parameters_gemini_TypeTagLength = _test_llm_parameters({ + model: "gemini", + name: "TypeTagLength", +})(typia.llm.parameters()); + +interface TypeTagLengthParameters { + regular: TypeTagLength; + nullable: TypeTagLength | null; + optional: TypeTagLength | undefined; + faint: TypeTagLength | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagMatrix.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagMatrix.ts new file mode 100644 index 0000000000..0a1ea2c937 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagMatrix.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagMatrix } from "../../../structures/TypeTagMatrix"; + +export const test_llm_parameters_gemini_TypeTagMatrix = _test_llm_parameters({ + model: "gemini", + name: "TypeTagMatrix", +})(typia.llm.parameters()); + +interface TypeTagMatrixParameters { + regular: TypeTagMatrix; + nullable: TypeTagMatrix | null; + optional: TypeTagMatrix | undefined; + faint: TypeTagMatrix | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagPattern.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagPattern.ts new file mode 100644 index 0000000000..de55cb5b6a --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagPattern.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagPattern } from "../../../structures/TypeTagPattern"; + +export const test_llm_parameters_gemini_TypeTagPattern = _test_llm_parameters({ + model: "gemini", + name: "TypeTagPattern", +})(typia.llm.parameters()); + +interface TypeTagPatternParameters { + regular: TypeTagPattern; + nullable: TypeTagPattern | null; + optional: TypeTagPattern | undefined; + faint: TypeTagPattern | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagRange.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagRange.ts new file mode 100644 index 0000000000..f460c561a9 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagRange.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagRange } from "../../../structures/TypeTagRange"; + +export const test_llm_parameters_gemini_TypeTagRange = _test_llm_parameters({ + model: "gemini", + name: "TypeTagRange", +})(typia.llm.parameters()); + +interface TypeTagRangeParameters { + regular: TypeTagRange; + nullable: TypeTagRange | null; + optional: TypeTagRange | undefined; + faint: TypeTagRange | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagType.ts b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagType.ts new file mode 100644 index 0000000000..6f65887107 --- /dev/null +++ b/test/src/features/llm.parameters/gemini/test_llm_parameters_gemini_TypeTagType.ts @@ -0,0 +1,17 @@ +import typia from "typia"; + +import { _test_llm_parameters } from "../../../internal/_test_llm_parameters"; +import { TypeTagType } from "../../../structures/TypeTagType"; + +export const test_llm_parameters_gemini_TypeTagType = _test_llm_parameters({ + model: "gemini", + name: "TypeTagType", +})(typia.llm.parameters()); + +interface TypeTagTypeParameters { + regular: TypeTagType; + nullable: TypeTagType | null; + optional: TypeTagType | undefined; + faint: TypeTagType | null | undefined; + array: Array; +} diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ArrayAtomicAlias.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ArrayAtomicAlias.ts deleted file mode 100644 index 3fcc57369e..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ArrayAtomicAlias.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ArrayAtomicAlias } from "../../../structures/ArrayAtomicAlias"; - -export const test_llm_schema_3_0_ArrayAtomicAlias = _test_llm_schema({ - model: "3.0", - name: "ArrayAtomicAlias", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ArrayAtomicSimple.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ArrayAtomicSimple.ts deleted file mode 100644 index 7c0c49a592..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ArrayAtomicSimple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ArrayAtomicSimple } from "../../../structures/ArrayAtomicSimple"; - -export const test_llm_schema_3_0_ArrayAtomicSimple = _test_llm_schema({ - model: "3.0", - name: "ArrayAtomicSimple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ArrayRepeatedUnionWithTuple.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ArrayRepeatedUnionWithTuple.ts deleted file mode 100644 index 788cdaf58d..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ArrayRepeatedUnionWithTuple.ts +++ /dev/null @@ -1,11 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ArrayRepeatedUnionWithTuple } from "../../../structures/ArrayRepeatedUnionWithTuple"; - -export const test_llm_schema_3_0_ArrayRepeatedUnionWithTuple = _test_llm_schema( - { - model: "3.0", - name: "ArrayRepeatedUnionWithTuple", - }, -)(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicAlias.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicAlias.ts deleted file mode 100644 index a807910915..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicAlias.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { AtomicAlias } from "../../../structures/AtomicAlias"; - -export const test_llm_schema_3_0_AtomicAlias = _test_llm_schema({ - model: "3.0", - name: "AtomicAlias", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicClass.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicClass.ts deleted file mode 100644 index 4ef803f8e9..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicClass.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { AtomicClass } from "../../../structures/AtomicClass"; - -export const test_llm_schema_3_0_AtomicClass = _test_llm_schema({ - model: "3.0", - name: "AtomicClass", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicIntersection.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicIntersection.ts deleted file mode 100644 index 2ab494a0ad..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicIntersection.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { AtomicIntersection } from "../../../structures/AtomicIntersection"; - -export const test_llm_schema_3_0_AtomicIntersection = _test_llm_schema({ - model: "3.0", - name: "AtomicIntersection", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicSimple.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicSimple.ts deleted file mode 100644 index 03ae9908f0..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_AtomicSimple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { AtomicSimple } from "../../../structures/AtomicSimple"; - -export const test_llm_schema_3_0_AtomicSimple = _test_llm_schema({ - model: "3.0", - name: "AtomicSimple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ConstantAtomicSimple.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ConstantAtomicSimple.ts deleted file mode 100644 index 78c94c0e1e..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ConstantAtomicSimple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ConstantAtomicSimple } from "../../../structures/ConstantAtomicSimple"; - -export const test_llm_schema_3_0_ConstantAtomicSimple = _test_llm_schema({ - model: "3.0", - name: "ConstantAtomicSimple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ConstantAtomicWrapper.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ConstantAtomicWrapper.ts deleted file mode 100644 index ba6499f35d..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ConstantAtomicWrapper.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ConstantAtomicWrapper } from "../../../structures/ConstantAtomicWrapper"; - -export const test_llm_schema_3_0_ConstantAtomicWrapper = _test_llm_schema({ - model: "3.0", - name: "ConstantAtomicWrapper", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ConstantIntersection.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ConstantIntersection.ts deleted file mode 100644 index d5476f8403..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ConstantIntersection.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ConstantIntersection } from "../../../structures/ConstantIntersection"; - -export const test_llm_schema_3_0_ConstantIntersection = _test_llm_schema({ - model: "3.0", - name: "ConstantIntersection", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectGeneric.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectGeneric.ts deleted file mode 100644 index 7f54ebe228..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectGeneric.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ObjectGeneric } from "../../../structures/ObjectGeneric"; - -export const test_llm_schema_3_0_ObjectGeneric = _test_llm_schema({ - model: "3.0", - name: "ObjectGeneric", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectHierarchical.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectHierarchical.ts deleted file mode 100644 index cda79c54f0..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectHierarchical.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ObjectHierarchical } from "../../../structures/ObjectHierarchical"; - -export const test_llm_schema_3_0_ObjectHierarchical = _test_llm_schema({ - model: "3.0", - name: "ObjectHierarchical", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectPropertyNullable.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectPropertyNullable.ts deleted file mode 100644 index ab8672c634..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectPropertyNullable.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ObjectPropertyNullable } from "../../../structures/ObjectPropertyNullable"; - -export const test_llm_schema_3_0_ObjectPropertyNullable = _test_llm_schema({ - model: "3.0", - name: "ObjectPropertyNullable", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectTuple.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectTuple.ts deleted file mode 100644 index 5f9f5d93be..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ObjectTuple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ObjectTuple } from "../../../structures/ObjectTuple"; - -export const test_llm_schema_3_0_ObjectTuple = _test_llm_schema({ - model: "3.0", - name: "ObjectTuple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ToJsonArray.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ToJsonArray.ts deleted file mode 100644 index 2d3ff1e9c3..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ToJsonArray.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ToJsonArray } from "../../../structures/ToJsonArray"; - -export const test_llm_schema_3_0_ToJsonArray = _test_llm_schema({ - model: "3.0", - name: "ToJsonArray", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ToJsonAtomicSimple.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ToJsonAtomicSimple.ts deleted file mode 100644 index 5706c815f9..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ToJsonAtomicSimple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ToJsonAtomicSimple } from "../../../structures/ToJsonAtomicSimple"; - -export const test_llm_schema_3_0_ToJsonAtomicSimple = _test_llm_schema({ - model: "3.0", - name: "ToJsonAtomicSimple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ToJsonTuple.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ToJsonTuple.ts deleted file mode 100644 index 210b821bb1..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_ToJsonTuple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ToJsonTuple } from "../../../structures/ToJsonTuple"; - -export const test_llm_schema_3_0_ToJsonTuple = _test_llm_schema({ - model: "3.0", - name: "ToJsonTuple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleHierarchical.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleHierarchical.ts deleted file mode 100644 index 7423f5d0bc..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleHierarchical.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TupleHierarchical } from "../../../structures/TupleHierarchical"; - -export const test_llm_schema_3_0_TupleHierarchical = _test_llm_schema({ - model: "3.0", - name: "TupleHierarchical", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleRestArray.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleRestArray.ts deleted file mode 100644 index 8c9325a14d..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleRestArray.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TupleRestArray } from "../../../structures/TupleRestArray"; - -export const test_llm_schema_3_0_TupleRestArray = _test_llm_schema({ - model: "3.0", - name: "TupleRestArray", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleRestAtomic.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleRestAtomic.ts deleted file mode 100644 index baa03b2426..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleRestAtomic.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TupleRestAtomic } from "../../../structures/TupleRestAtomic"; - -export const test_llm_schema_3_0_TupleRestAtomic = _test_llm_schema({ - model: "3.0", - name: "TupleRestAtomic", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleRestObject.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleRestObject.ts deleted file mode 100644 index fdfec9e322..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TupleRestObject.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TupleRestObject } from "../../../structures/TupleRestObject"; - -export const test_llm_schema_3_0_TupleRestObject = _test_llm_schema({ - model: "3.0", - name: "TupleRestObject", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TypeTagTuple.ts b/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TypeTagTuple.ts deleted file mode 100644 index 31e8ba427f..0000000000 --- a/test/src/features/llm.schema/3.0/test_llm_schema_3_0_TypeTagTuple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TypeTagTuple } from "../../../structures/TypeTagTuple"; - -export const test_llm_schema_3_0_TypeTagTuple = _test_llm_schema({ - model: "3.0", - name: "TypeTagTuple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAny.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAny.ts index 344a62dd0e..fe6c78c96c 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAny.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAny.ts @@ -6,4 +6,4 @@ import { ArrayAny } from "../../../structures/ArrayAny"; export const test_llm_schema_3_1_ArrayAny = _test_llm_schema({ model: "3.1", name: "ArrayAny", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAtomicAlias.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAtomicAlias.ts deleted file mode 100644 index 3b77e6b2d9..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAtomicAlias.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ArrayAtomicAlias } from "../../../structures/ArrayAtomicAlias"; - -export const test_llm_schema_3_1_ArrayAtomicAlias = _test_llm_schema({ - model: "3.1", - name: "ArrayAtomicAlias", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAtomicSimple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAtomicSimple.ts deleted file mode 100644 index 2fda0c00e4..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayAtomicSimple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ArrayAtomicSimple } from "../../../structures/ArrayAtomicSimple"; - -export const test_llm_schema_3_1_ArrayAtomicSimple = _test_llm_schema({ - model: "3.1", - name: "ArrayAtomicSimple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayHierarchical.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayHierarchical.ts index 7d9dda630b..bf8fc25f73 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayHierarchical.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayHierarchical.ts @@ -6,4 +6,4 @@ import { ArrayHierarchical } from "../../../structures/ArrayHierarchical"; export const test_llm_schema_3_1_ArrayHierarchical = _test_llm_schema({ model: "3.1", name: "ArrayHierarchical", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayHierarchicalPointer.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayHierarchicalPointer.ts index a39a3ee382..157e838fad 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayHierarchicalPointer.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayHierarchicalPointer.ts @@ -6,4 +6,4 @@ import { ArrayHierarchicalPointer } from "../../../structures/ArrayHierarchicalP export const test_llm_schema_3_1_ArrayHierarchicalPointer = _test_llm_schema({ model: "3.1", name: "ArrayHierarchicalPointer", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayMatrix.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayMatrix.ts index 5230bf3282..10b410b0aa 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayMatrix.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayMatrix.ts @@ -6,4 +6,4 @@ import { ArrayMatrix } from "../../../structures/ArrayMatrix"; export const test_llm_schema_3_1_ArrayMatrix = _test_llm_schema({ model: "3.1", name: "ArrayMatrix", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursive.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursive.ts index 23b3dfa833..1cc9cf6879 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursive.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursive.ts @@ -6,4 +6,4 @@ import { ArrayRecursive } from "../../../structures/ArrayRecursive"; export const test_llm_schema_3_1_ArrayRecursive = _test_llm_schema({ model: "3.1", name: "ArrayRecursive", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionExplicit.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionExplicit.ts index 5eae8ed2a2..b7a1512cf9 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionExplicit.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionExplicit.ts @@ -8,4 +8,4 @@ export const test_llm_schema_3_1_ArrayRecursiveUnionExplicit = _test_llm_schema( model: "3.1", name: "ArrayRecursiveUnionExplicit", }, -)(typia.llm.schema()); +)(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionExplicitPointer.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionExplicitPointer.ts index 49fcfae531..4aec2fe76f 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionExplicitPointer.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionExplicitPointer.ts @@ -7,4 +7,4 @@ export const test_llm_schema_3_1_ArrayRecursiveUnionExplicitPointer = _test_llm_schema({ model: "3.1", name: "ArrayRecursiveUnionExplicitPointer", - })(typia.llm.schema()); + })(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionImplicit.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionImplicit.ts index 8b39a7cdbb..147a840ce0 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionImplicit.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRecursiveUnionImplicit.ts @@ -8,4 +8,4 @@ export const test_llm_schema_3_1_ArrayRecursiveUnionImplicit = _test_llm_schema( model: "3.1", name: "ArrayRecursiveUnionImplicit", }, -)(typia.llm.schema()); +)(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedNullable.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedNullable.ts index 33e5705fe1..1ff6b8f023 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedNullable.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedNullable.ts @@ -6,4 +6,4 @@ import { ArrayRepeatedNullable } from "../../../structures/ArrayRepeatedNullable export const test_llm_schema_3_1_ArrayRepeatedNullable = _test_llm_schema({ model: "3.1", name: "ArrayRepeatedNullable", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedRequired.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedRequired.ts index 5dc7736eea..a15541775e 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedRequired.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedRequired.ts @@ -6,4 +6,4 @@ import { ArrayRepeatedRequired } from "../../../structures/ArrayRepeatedRequired export const test_llm_schema_3_1_ArrayRepeatedRequired = _test_llm_schema({ model: "3.1", name: "ArrayRepeatedRequired", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedUnion.ts index 97f2c7649a..45f5183d8a 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedUnion.ts @@ -6,4 +6,4 @@ import { ArrayRepeatedUnion } from "../../../structures/ArrayRepeatedUnion"; export const test_llm_schema_3_1_ArrayRepeatedUnion = _test_llm_schema({ model: "3.1", name: "ArrayRepeatedUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedUnionWithTuple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedUnionWithTuple.ts deleted file mode 100644 index 8871d20de6..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayRepeatedUnionWithTuple.ts +++ /dev/null @@ -1,11 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ArrayRepeatedUnionWithTuple } from "../../../structures/ArrayRepeatedUnionWithTuple"; - -export const test_llm_schema_3_1_ArrayRepeatedUnionWithTuple = _test_llm_schema( - { - model: "3.1", - name: "ArrayRepeatedUnionWithTuple", - }, -)(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArraySimple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArraySimple.ts index fcca45045a..def2059600 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArraySimple.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArraySimple.ts @@ -6,4 +6,4 @@ import { ArraySimple } from "../../../structures/ArraySimple"; export const test_llm_schema_3_1_ArraySimple = _test_llm_schema({ model: "3.1", name: "ArraySimple", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayUnion.ts index 5065b9f5a2..52c87cbc1f 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ArrayUnion.ts @@ -6,4 +6,4 @@ import { ArrayUnion } from "../../../structures/ArrayUnion"; export const test_llm_schema_3_1_ArrayUnion = _test_llm_schema({ model: "3.1", name: "ArrayUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicAlias.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicAlias.ts deleted file mode 100644 index f52f1b79a2..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicAlias.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { AtomicAlias } from "../../../structures/AtomicAlias"; - -export const test_llm_schema_3_1_AtomicAlias = _test_llm_schema({ - model: "3.1", - name: "AtomicAlias", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicClass.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicClass.ts deleted file mode 100644 index b8917db673..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicClass.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { AtomicClass } from "../../../structures/AtomicClass"; - -export const test_llm_schema_3_1_AtomicClass = _test_llm_schema({ - model: "3.1", - name: "AtomicClass", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicIntersection.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicIntersection.ts deleted file mode 100644 index b34e164d19..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicIntersection.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { AtomicIntersection } from "../../../structures/AtomicIntersection"; - -export const test_llm_schema_3_1_AtomicIntersection = _test_llm_schema({ - model: "3.1", - name: "AtomicIntersection", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicSimple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicSimple.ts deleted file mode 100644 index 1228cad096..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicSimple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { AtomicSimple } from "../../../structures/AtomicSimple"; - -export const test_llm_schema_3_1_AtomicSimple = _test_llm_schema({ - model: "3.1", - name: "AtomicSimple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicUnion.ts index 705f05e823..e5c0f6573d 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_AtomicUnion.ts @@ -6,4 +6,4 @@ import { AtomicUnion } from "../../../structures/AtomicUnion"; export const test_llm_schema_3_1_AtomicUnion = _test_llm_schema({ model: "3.1", name: "AtomicUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassGetter.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassGetter.ts index 9be56471eb..b71a95cd18 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassGetter.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassGetter.ts @@ -6,4 +6,4 @@ import { ClassGetter } from "../../../structures/ClassGetter"; export const test_llm_schema_3_1_ClassGetter = _test_llm_schema({ model: "3.1", name: "ClassGetter", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassMethod.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassMethod.ts index e0c430ffb0..620f91de07 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassMethod.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassMethod.ts @@ -6,4 +6,4 @@ import { ClassMethod } from "../../../structures/ClassMethod"; export const test_llm_schema_3_1_ClassMethod = _test_llm_schema({ model: "3.1", name: "ClassMethod", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassPropertyAssignment.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassPropertyAssignment.ts index 8915a3c0a3..14dd12f1e5 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassPropertyAssignment.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ClassPropertyAssignment.ts @@ -6,4 +6,4 @@ import { ClassPropertyAssignment } from "../../../structures/ClassPropertyAssign export const test_llm_schema_3_1_ClassPropertyAssignment = _test_llm_schema({ model: "3.1", name: "ClassPropertyAssignment", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagArray.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagArray.ts index 08d3a9fefd..c21eea6b4c 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagArray.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagArray.ts @@ -6,4 +6,4 @@ import { CommentTagArray } from "../../../structures/CommentTagArray"; export const test_llm_schema_3_1_CommentTagArray = _test_llm_schema({ model: "3.1", name: "CommentTagArray", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagArrayUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagArrayUnion.ts index 4e14d67b19..d752152cde 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagArrayUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagArrayUnion.ts @@ -6,4 +6,4 @@ import { CommentTagArrayUnion } from "../../../structures/CommentTagArrayUnion"; export const test_llm_schema_3_1_CommentTagArrayUnion = _test_llm_schema({ model: "3.1", name: "CommentTagArrayUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagAtomicUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagAtomicUnion.ts index a9bd661d16..0761b3ca08 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagAtomicUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagAtomicUnion.ts @@ -6,4 +6,4 @@ import { CommentTagAtomicUnion } from "../../../structures/CommentTagAtomicUnion export const test_llm_schema_3_1_CommentTagAtomicUnion = _test_llm_schema({ model: "3.1", name: "CommentTagAtomicUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagDefault.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagDefault.ts index 0d5b2a0235..0b91cde189 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagDefault.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagDefault.ts @@ -6,4 +6,4 @@ import { CommentTagDefault } from "../../../structures/CommentTagDefault"; export const test_llm_schema_3_1_CommentTagDefault = _test_llm_schema({ model: "3.1", name: "CommentTagDefault", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagFormat.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagFormat.ts index 76e85d55f5..7da0c044d4 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagFormat.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagFormat.ts @@ -6,4 +6,4 @@ import { CommentTagFormat } from "../../../structures/CommentTagFormat"; export const test_llm_schema_3_1_CommentTagFormat = _test_llm_schema({ model: "3.1", name: "CommentTagFormat", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagLength.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagLength.ts index edb283d7c3..1f60ff2c58 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagLength.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagLength.ts @@ -6,4 +6,4 @@ import { CommentTagLength } from "../../../structures/CommentTagLength"; export const test_llm_schema_3_1_CommentTagLength = _test_llm_schema({ model: "3.1", name: "CommentTagLength", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagObjectUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagObjectUnion.ts index 0f4527522f..1be0a339f6 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagObjectUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagObjectUnion.ts @@ -6,4 +6,4 @@ import { CommentTagObjectUnion } from "../../../structures/CommentTagObjectUnion export const test_llm_schema_3_1_CommentTagObjectUnion = _test_llm_schema({ model: "3.1", name: "CommentTagObjectUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagPattern.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagPattern.ts index 6b5eda47ca..f62cded9c6 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagPattern.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagPattern.ts @@ -6,4 +6,4 @@ import { CommentTagPattern } from "../../../structures/CommentTagPattern"; export const test_llm_schema_3_1_CommentTagPattern = _test_llm_schema({ model: "3.1", name: "CommentTagPattern", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagRange.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagRange.ts index ee19a9d337..0a0e265229 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagRange.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagRange.ts @@ -6,4 +6,4 @@ import { CommentTagRange } from "../../../structures/CommentTagRange"; export const test_llm_schema_3_1_CommentTagRange = _test_llm_schema({ model: "3.1", name: "CommentTagRange", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagType.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagType.ts index b50577169f..b4cdf79a08 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagType.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_CommentTagType.ts @@ -6,4 +6,4 @@ import { CommentTagType } from "../../../structures/CommentTagType"; export const test_llm_schema_3_1_CommentTagType = _test_llm_schema({ model: "3.1", name: "CommentTagType", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicAbsorbed.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicAbsorbed.ts index b620fd4686..40b7bf7169 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicAbsorbed.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicAbsorbed.ts @@ -6,4 +6,4 @@ import { ConstantAtomicAbsorbed } from "../../../structures/ConstantAtomicAbsorb export const test_llm_schema_3_1_ConstantAtomicAbsorbed = _test_llm_schema({ model: "3.1", name: "ConstantAtomicAbsorbed", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicSimple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicSimple.ts deleted file mode 100644 index 18f30a3616..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicSimple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ConstantAtomicSimple } from "../../../structures/ConstantAtomicSimple"; - -export const test_llm_schema_3_1_ConstantAtomicSimple = _test_llm_schema({ - model: "3.1", - name: "ConstantAtomicSimple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicTagged.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicTagged.ts index 9b74f3770b..05ea21950e 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicTagged.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicTagged.ts @@ -6,4 +6,4 @@ import { ConstantAtomicTagged } from "../../../structures/ConstantAtomicTagged"; export const test_llm_schema_3_1_ConstantAtomicTagged = _test_llm_schema({ model: "3.1", name: "ConstantAtomicTagged", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicUnion.ts index 7d39eeeac2..1e32058312 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicUnion.ts @@ -6,4 +6,4 @@ import { ConstantAtomicUnion } from "../../../structures/ConstantAtomicUnion"; export const test_llm_schema_3_1_ConstantAtomicUnion = _test_llm_schema({ model: "3.1", name: "ConstantAtomicUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicWrapper.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicWrapper.ts deleted file mode 100644 index a7d50afcf9..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantAtomicWrapper.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ConstantAtomicWrapper } from "../../../structures/ConstantAtomicWrapper"; - -export const test_llm_schema_3_1_ConstantAtomicWrapper = _test_llm_schema({ - model: "3.1", - name: "ConstantAtomicWrapper", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantConstEnumeration.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantConstEnumeration.ts index f91ea809b6..3e7fdf6f3f 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantConstEnumeration.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantConstEnumeration.ts @@ -6,4 +6,4 @@ import { ConstantConstEnumeration } from "../../../structures/ConstantConstEnume export const test_llm_schema_3_1_ConstantConstEnumeration = _test_llm_schema({ model: "3.1", name: "ConstantConstEnumeration", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantEnumeration.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantEnumeration.ts index ccc47526d7..12d7b8b9f1 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantEnumeration.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantEnumeration.ts @@ -6,4 +6,4 @@ import { ConstantEnumeration } from "../../../structures/ConstantEnumeration"; export const test_llm_schema_3_1_ConstantEnumeration = _test_llm_schema({ model: "3.1", name: "ConstantEnumeration", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantIntersection.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantIntersection.ts deleted file mode 100644 index 7e879ffa4e..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ConstantIntersection.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ConstantIntersection } from "../../../structures/ConstantIntersection"; - -export const test_llm_schema_3_1_ConstantIntersection = _test_llm_schema({ - model: "3.1", - name: "ConstantIntersection", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicConstant.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicConstant.ts index fdd2c6c818..64a3ed0844 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicConstant.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicConstant.ts @@ -6,4 +6,4 @@ import { DynamicConstant } from "../../../structures/DynamicConstant"; export const test_llm_schema_3_1_DynamicConstant = _test_llm_schema({ model: "3.1", name: "DynamicConstant", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicEnumeration.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicEnumeration.ts index 43d1cae131..fc3c30075a 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicEnumeration.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicEnumeration.ts @@ -6,4 +6,4 @@ import { DynamicEnumeration } from "../../../structures/DynamicEnumeration"; export const test_llm_schema_3_1_DynamicEnumeration = _test_llm_schema({ model: "3.1", name: "DynamicEnumeration", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicNever.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicNever.ts index 9b17a1e43b..81cefb50b3 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicNever.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicNever.ts @@ -6,4 +6,4 @@ import { DynamicNever } from "../../../structures/DynamicNever"; export const test_llm_schema_3_1_DynamicNever = _test_llm_schema({ model: "3.1", name: "DynamicNever", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicUndefined.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicUndefined.ts index 04383d828d..db68b857b4 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicUndefined.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_DynamicUndefined.ts @@ -6,4 +6,4 @@ import { DynamicUndefined } from "../../../structures/DynamicUndefined"; export const test_llm_schema_3_1_DynamicUndefined = _test_llm_schema({ model: "3.1", name: "DynamicUndefined", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectAlias.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectAlias.ts index f7524448b2..63ccee95e6 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectAlias.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectAlias.ts @@ -6,4 +6,4 @@ import { ObjectAlias } from "../../../structures/ObjectAlias"; export const test_llm_schema_3_1_ObjectAlias = _test_llm_schema({ model: "3.1", name: "ObjectAlias", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectDate.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectDate.ts index eafa6ee634..dc70203684 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectDate.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectDate.ts @@ -6,4 +6,4 @@ import { ObjectDate } from "../../../structures/ObjectDate"; export const test_llm_schema_3_1_ObjectDate = _test_llm_schema({ model: "3.1", name: "ObjectDate", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectDescription.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectDescription.ts index d2823cdc57..33df3889e8 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectDescription.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectDescription.ts @@ -6,4 +6,4 @@ import { ObjectDescription } from "../../../structures/ObjectDescription"; export const test_llm_schema_3_1_ObjectDescription = _test_llm_schema({ model: "3.1", name: "ObjectDescription", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGeneric.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGeneric.ts deleted file mode 100644 index 9bf7fea3a0..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGeneric.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ObjectGeneric } from "../../../structures/ObjectGeneric"; - -export const test_llm_schema_3_1_ObjectGeneric = _test_llm_schema({ - model: "3.1", - name: "ObjectGeneric", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericAlias.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericAlias.ts index 714644c7b1..9bb045d34a 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericAlias.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericAlias.ts @@ -6,4 +6,4 @@ import { ObjectGenericAlias } from "../../../structures/ObjectGenericAlias"; export const test_llm_schema_3_1_ObjectGenericAlias = _test_llm_schema({ model: "3.1", name: "ObjectGenericAlias", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericArray.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericArray.ts index 3ae95fd29d..6aa2c5b569 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericArray.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericArray.ts @@ -6,4 +6,4 @@ import { ObjectGenericArray } from "../../../structures/ObjectGenericArray"; export const test_llm_schema_3_1_ObjectGenericArray = _test_llm_schema({ model: "3.1", name: "ObjectGenericArray", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericUnion.ts index b23b7c2435..6fc5808d20 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectGenericUnion.ts @@ -6,4 +6,4 @@ import { ObjectGenericUnion } from "../../../structures/ObjectGenericUnion"; export const test_llm_schema_3_1_ObjectGenericUnion = _test_llm_schema({ model: "3.1", name: "ObjectGenericUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectHierarchical.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectHierarchical.ts deleted file mode 100644 index 4cf66751cc..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectHierarchical.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ObjectHierarchical } from "../../../structures/ObjectHierarchical"; - -export const test_llm_schema_3_1_ObjectHierarchical = _test_llm_schema({ - model: "3.1", - name: "ObjectHierarchical", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectInternal.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectInternal.ts index c373d3486e..c47220f9e4 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectInternal.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectInternal.ts @@ -6,4 +6,4 @@ import { ObjectInternal } from "../../../structures/ObjectInternal"; export const test_llm_schema_3_1_ObjectInternal = _test_llm_schema({ model: "3.1", name: "ObjectInternal", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectIntersection.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectIntersection.ts index 3e8ab422bd..61ca002e0d 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectIntersection.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectIntersection.ts @@ -6,4 +6,4 @@ import { ObjectIntersection } from "../../../structures/ObjectIntersection"; export const test_llm_schema_3_1_ObjectIntersection = _test_llm_schema({ model: "3.1", name: "ObjectIntersection", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectJsonTag.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectJsonTag.ts index 1c5b18e136..7702e96a63 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectJsonTag.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectJsonTag.ts @@ -6,4 +6,4 @@ import { ObjectJsonTag } from "../../../structures/ObjectJsonTag"; export const test_llm_schema_3_1_ObjectJsonTag = _test_llm_schema({ model: "3.1", name: "ObjectJsonTag", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectLiteralProperty.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectLiteralProperty.ts index 3124e9c0b3..31533581d8 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectLiteralProperty.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectLiteralProperty.ts @@ -6,4 +6,4 @@ import { ObjectLiteralProperty } from "../../../structures/ObjectLiteralProperty export const test_llm_schema_3_1_ObjectLiteralProperty = _test_llm_schema({ model: "3.1", name: "ObjectLiteralProperty", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectLiteralType.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectLiteralType.ts index 873bf59d1a..c9d89aeaab 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectLiteralType.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectLiteralType.ts @@ -6,4 +6,4 @@ import { ObjectLiteralType } from "../../../structures/ObjectLiteralType"; export const test_llm_schema_3_1_ObjectLiteralType = _test_llm_schema({ model: "3.1", name: "ObjectLiteralType", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectNullable.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectNullable.ts index 4f4648d7d6..204a584aa4 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectNullable.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectNullable.ts @@ -6,4 +6,4 @@ import { ObjectNullable } from "../../../structures/ObjectNullable"; export const test_llm_schema_3_1_ObjectNullable = _test_llm_schema({ model: "3.1", name: "ObjectNullable", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectOptional.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectOptional.ts index 9b9c306312..73e05a86b8 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectOptional.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectOptional.ts @@ -6,4 +6,4 @@ import { ObjectOptional } from "../../../structures/ObjectOptional"; export const test_llm_schema_3_1_ObjectOptional = _test_llm_schema({ model: "3.1", name: "ObjectOptional", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPartial.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPartial.ts index 9b15603210..12c9a27a0b 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPartial.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPartial.ts @@ -6,4 +6,4 @@ import { ObjectPartial } from "../../../structures/ObjectPartial"; export const test_llm_schema_3_1_ObjectPartial = _test_llm_schema({ model: "3.1", name: "ObjectPartial", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPartialAndRequired.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPartialAndRequired.ts index deaad83ddf..d1f51abe50 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPartialAndRequired.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPartialAndRequired.ts @@ -6,4 +6,4 @@ import { ObjectPartialAndRequired } from "../../../structures/ObjectPartialAndRe export const test_llm_schema_3_1_ObjectPartialAndRequired = _test_llm_schema({ model: "3.1", name: "ObjectPartialAndRequired", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPrimitive.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPrimitive.ts index 47910aa81b..98758264d2 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPrimitive.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPrimitive.ts @@ -6,4 +6,4 @@ import { ObjectPrimitive } from "../../../structures/ObjectPrimitive"; export const test_llm_schema_3_1_ObjectPrimitive = _test_llm_schema({ model: "3.1", name: "ObjectPrimitive", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPropertyNullable.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPropertyNullable.ts deleted file mode 100644 index b6a4c6e941..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectPropertyNullable.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ObjectPropertyNullable } from "../../../structures/ObjectPropertyNullable"; - -export const test_llm_schema_3_1_ObjectPropertyNullable = _test_llm_schema({ - model: "3.1", - name: "ObjectPropertyNullable", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectRecursive.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectRecursive.ts index 7dc870f88f..a5f641aacb 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectRecursive.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectRecursive.ts @@ -6,4 +6,4 @@ import { ObjectRecursive } from "../../../structures/ObjectRecursive"; export const test_llm_schema_3_1_ObjectRecursive = _test_llm_schema({ model: "3.1", name: "ObjectRecursive", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectRequired.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectRequired.ts index 3817d7c9dd..08a0e80a04 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectRequired.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectRequired.ts @@ -6,4 +6,4 @@ import { ObjectRequired } from "../../../structures/ObjectRequired"; export const test_llm_schema_3_1_ObjectRequired = _test_llm_schema({ model: "3.1", name: "ObjectRequired", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectSimple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectSimple.ts index 30d44881e7..2a392a7958 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectSimple.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectSimple.ts @@ -6,4 +6,4 @@ import { ObjectSimple } from "../../../structures/ObjectSimple"; export const test_llm_schema_3_1_ObjectSimple = _test_llm_schema({ model: "3.1", name: "ObjectSimple", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectTuple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectTuple.ts deleted file mode 100644 index 30715a3084..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectTuple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ObjectTuple } from "../../../structures/ObjectTuple"; - -export const test_llm_schema_3_1_ObjectTuple = _test_llm_schema({ - model: "3.1", - name: "ObjectTuple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUndefined.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUndefined.ts index 9ff41f0c82..b65ac87798 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUndefined.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUndefined.ts @@ -6,4 +6,4 @@ import { ObjectUndefined } from "../../../structures/ObjectUndefined"; export const test_llm_schema_3_1_ObjectUndefined = _test_llm_schema({ model: "3.1", name: "ObjectUndefined", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionComposite.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionComposite.ts index c77fe3953e..29132eee3b 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionComposite.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionComposite.ts @@ -6,4 +6,4 @@ import { ObjectUnionComposite } from "../../../structures/ObjectUnionComposite"; export const test_llm_schema_3_1_ObjectUnionComposite = _test_llm_schema({ model: "3.1", name: "ObjectUnionComposite", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionCompositePointer.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionCompositePointer.ts index e18eec3e22..b260c835b3 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionCompositePointer.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionCompositePointer.ts @@ -8,4 +8,4 @@ export const test_llm_schema_3_1_ObjectUnionCompositePointer = _test_llm_schema( model: "3.1", name: "ObjectUnionCompositePointer", }, -)(typia.llm.schema()); +)(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionDouble.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionDouble.ts index f5bcf89191..f935a9c582 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionDouble.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionDouble.ts @@ -6,4 +6,4 @@ import { ObjectUnionDouble } from "../../../structures/ObjectUnionDouble"; export const test_llm_schema_3_1_ObjectUnionDouble = _test_llm_schema({ model: "3.1", name: "ObjectUnionDouble", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionExplicit.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionExplicit.ts index 02b71eae9a..16cb43df26 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionExplicit.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionExplicit.ts @@ -6,4 +6,4 @@ import { ObjectUnionExplicit } from "../../../structures/ObjectUnionExplicit"; export const test_llm_schema_3_1_ObjectUnionExplicit = _test_llm_schema({ model: "3.1", name: "ObjectUnionExplicit", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionExplicitPointer.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionExplicitPointer.ts index 126146ff5f..3970f82e4d 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionExplicitPointer.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionExplicitPointer.ts @@ -6,4 +6,4 @@ import { ObjectUnionExplicitPointer } from "../../../structures/ObjectUnionExpli export const test_llm_schema_3_1_ObjectUnionExplicitPointer = _test_llm_schema({ model: "3.1", name: "ObjectUnionExplicitPointer", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionImplicit.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionImplicit.ts index 93a3c24d87..a61e977ed2 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionImplicit.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionImplicit.ts @@ -6,4 +6,4 @@ import { ObjectUnionImplicit } from "../../../structures/ObjectUnionImplicit"; export const test_llm_schema_3_1_ObjectUnionImplicit = _test_llm_schema({ model: "3.1", name: "ObjectUnionImplicit", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionNonPredictable.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionNonPredictable.ts index 98b6810da9..0785e2cd8c 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionNonPredictable.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ObjectUnionNonPredictable.ts @@ -6,4 +6,4 @@ import { ObjectUnionNonPredictable } from "../../../structures/ObjectUnionNonPre export const test_llm_schema_3_1_ObjectUnionNonPredictable = _test_llm_schema({ model: "3.1", name: "ObjectUnionNonPredictable", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateAtomic.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateAtomic.ts index c23ad327f6..c421a84ccc 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateAtomic.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateAtomic.ts @@ -6,4 +6,4 @@ import { TemplateAtomic } from "../../../structures/TemplateAtomic"; export const test_llm_schema_3_1_TemplateAtomic = _test_llm_schema({ model: "3.1", name: "TemplateAtomic", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateConstant.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateConstant.ts index a1530486a2..9bce74e089 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateConstant.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateConstant.ts @@ -6,4 +6,4 @@ import { TemplateConstant } from "../../../structures/TemplateConstant"; export const test_llm_schema_3_1_TemplateConstant = _test_llm_schema({ model: "3.1", name: "TemplateConstant", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateUnion.ts index 998d66e714..6ec3e7a19b 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TemplateUnion.ts @@ -6,4 +6,4 @@ import { TemplateUnion } from "../../../structures/TemplateUnion"; export const test_llm_schema_3_1_TemplateUnion = _test_llm_schema({ model: "3.1", name: "TemplateUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonArray.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonArray.ts deleted file mode 100644 index 674d2b1d8c..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonArray.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ToJsonArray } from "../../../structures/ToJsonArray"; - -export const test_llm_schema_3_1_ToJsonArray = _test_llm_schema({ - model: "3.1", - name: "ToJsonArray", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonAtomicSimple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonAtomicSimple.ts deleted file mode 100644 index 920448e263..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonAtomicSimple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ToJsonAtomicSimple } from "../../../structures/ToJsonAtomicSimple"; - -export const test_llm_schema_3_1_ToJsonAtomicSimple = _test_llm_schema({ - model: "3.1", - name: "ToJsonAtomicSimple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonAtomicUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonAtomicUnion.ts index eec36d03c3..0ef0056044 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonAtomicUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonAtomicUnion.ts @@ -6,4 +6,4 @@ import { ToJsonAtomicUnion } from "../../../structures/ToJsonAtomicUnion"; export const test_llm_schema_3_1_ToJsonAtomicUnion = _test_llm_schema({ model: "3.1", name: "ToJsonAtomicUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonDouble.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonDouble.ts index 8d0feeda03..c490743297 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonDouble.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonDouble.ts @@ -6,4 +6,4 @@ import { ToJsonDouble } from "../../../structures/ToJsonDouble"; export const test_llm_schema_3_1_ToJsonDouble = _test_llm_schema({ model: "3.1", name: "ToJsonDouble", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonNull.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonNull.ts index 02e876a369..a75c2c9d53 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonNull.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonNull.ts @@ -6,4 +6,4 @@ import { ToJsonNull } from "../../../structures/ToJsonNull"; export const test_llm_schema_3_1_ToJsonNull = _test_llm_schema({ model: "3.1", name: "ToJsonNull", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonTuple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonTuple.ts deleted file mode 100644 index b8b9568d66..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonTuple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { ToJsonTuple } from "../../../structures/ToJsonTuple"; - -export const test_llm_schema_3_1_ToJsonTuple = _test_llm_schema({ - model: "3.1", - name: "ToJsonTuple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonUnion.ts index 710de162fe..1a3fc50ec8 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_ToJsonUnion.ts @@ -6,4 +6,4 @@ import { ToJsonUnion } from "../../../structures/ToJsonUnion"; export const test_llm_schema_3_1_ToJsonUnion = _test_llm_schema({ model: "3.1", name: "ToJsonUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleHierarchical.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleHierarchical.ts deleted file mode 100644 index 44c65c1a49..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleHierarchical.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TupleHierarchical } from "../../../structures/TupleHierarchical"; - -export const test_llm_schema_3_1_TupleHierarchical = _test_llm_schema({ - model: "3.1", - name: "TupleHierarchical", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleRestArray.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleRestArray.ts deleted file mode 100644 index ff171edf53..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleRestArray.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TupleRestArray } from "../../../structures/TupleRestArray"; - -export const test_llm_schema_3_1_TupleRestArray = _test_llm_schema({ - model: "3.1", - name: "TupleRestArray", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleRestAtomic.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleRestAtomic.ts deleted file mode 100644 index e8c04df4eb..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleRestAtomic.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TupleRestAtomic } from "../../../structures/TupleRestAtomic"; - -export const test_llm_schema_3_1_TupleRestAtomic = _test_llm_schema({ - model: "3.1", - name: "TupleRestAtomic", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleRestObject.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleRestObject.ts deleted file mode 100644 index ba9fd95d8a..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TupleRestObject.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TupleRestObject } from "../../../structures/TupleRestObject"; - -export const test_llm_schema_3_1_TupleRestObject = _test_llm_schema({ - model: "3.1", - name: "TupleRestObject", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagArray.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagArray.ts index ac8833e8a0..64ebeb0522 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagArray.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagArray.ts @@ -6,4 +6,4 @@ import { TypeTagArray } from "../../../structures/TypeTagArray"; export const test_llm_schema_3_1_TypeTagArray = _test_llm_schema({ model: "3.1", name: "TypeTagArray", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagArrayUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagArrayUnion.ts index 5693445a42..4eba220b61 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagArrayUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagArrayUnion.ts @@ -6,4 +6,4 @@ import { TypeTagArrayUnion } from "../../../structures/TypeTagArrayUnion"; export const test_llm_schema_3_1_TypeTagArrayUnion = _test_llm_schema({ model: "3.1", name: "TypeTagArrayUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagAtomicUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagAtomicUnion.ts index 5b02cb8ec5..e6d1879c53 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagAtomicUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagAtomicUnion.ts @@ -6,4 +6,4 @@ import { TypeTagAtomicUnion } from "../../../structures/TypeTagAtomicUnion"; export const test_llm_schema_3_1_TypeTagAtomicUnion = _test_llm_schema({ model: "3.1", name: "TypeTagAtomicUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagCustom.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagCustom.ts index 6b390d1178..0dfd18f2db 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagCustom.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagCustom.ts @@ -6,4 +6,4 @@ import { TypeTagCustom } from "../../../structures/TypeTagCustom"; export const test_llm_schema_3_1_TypeTagCustom = _test_llm_schema({ model: "3.1", name: "TypeTagCustom", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagDefault.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagDefault.ts index bc9f0ea1c4..419606f9cb 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagDefault.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagDefault.ts @@ -6,4 +6,4 @@ import { TypeTagDefault } from "../../../structures/TypeTagDefault"; export const test_llm_schema_3_1_TypeTagDefault = _test_llm_schema({ model: "3.1", name: "TypeTagDefault", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagFormat.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagFormat.ts index e707238023..0036366bf8 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagFormat.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagFormat.ts @@ -6,4 +6,4 @@ import { TypeTagFormat } from "../../../structures/TypeTagFormat"; export const test_llm_schema_3_1_TypeTagFormat = _test_llm_schema({ model: "3.1", name: "TypeTagFormat", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagLength.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagLength.ts index c48532b906..233cfa17f7 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagLength.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagLength.ts @@ -6,4 +6,4 @@ import { TypeTagLength } from "../../../structures/TypeTagLength"; export const test_llm_schema_3_1_TypeTagLength = _test_llm_schema({ model: "3.1", name: "TypeTagLength", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagMatrix.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagMatrix.ts index 740059021e..b836e7d80a 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagMatrix.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagMatrix.ts @@ -6,4 +6,4 @@ import { TypeTagMatrix } from "../../../structures/TypeTagMatrix"; export const test_llm_schema_3_1_TypeTagMatrix = _test_llm_schema({ model: "3.1", name: "TypeTagMatrix", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagObjectUnion.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagObjectUnion.ts index 4bb13e7eab..4362fbbff0 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagObjectUnion.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagObjectUnion.ts @@ -6,4 +6,4 @@ import { TypeTagObjectUnion } from "../../../structures/TypeTagObjectUnion"; export const test_llm_schema_3_1_TypeTagObjectUnion = _test_llm_schema({ model: "3.1", name: "TypeTagObjectUnion", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagPattern.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagPattern.ts index 8d84bb4c22..6eef69c66d 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagPattern.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagPattern.ts @@ -6,4 +6,4 @@ import { TypeTagPattern } from "../../../structures/TypeTagPattern"; export const test_llm_schema_3_1_TypeTagPattern = _test_llm_schema({ model: "3.1", name: "TypeTagPattern", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagRange.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagRange.ts index 31a762848d..22b757874e 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagRange.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagRange.ts @@ -6,4 +6,4 @@ import { TypeTagRange } from "../../../structures/TypeTagRange"; export const test_llm_schema_3_1_TypeTagRange = _test_llm_schema({ model: "3.1", name: "TypeTagRange", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagTuple.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagTuple.ts deleted file mode 100644 index 018ba5c94a..0000000000 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagTuple.ts +++ /dev/null @@ -1,9 +0,0 @@ -import typia from "typia"; - -import { _test_llm_schema } from "../../../internal/_test_llm_schema"; -import { TypeTagTuple } from "../../../structures/TypeTagTuple"; - -export const test_llm_schema_3_1_TypeTagTuple = _test_llm_schema({ - model: "3.1", - name: "TypeTagTuple", -})(typia.llm.schema()); diff --git a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagType.ts b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagType.ts index 0e413b1e78..daecf7464e 100644 --- a/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagType.ts +++ b/test/src/features/llm.schema/3.1/test_llm_schema_3_1_TypeTagType.ts @@ -6,4 +6,4 @@ import { TypeTagType } from "../../../structures/TypeTagType"; export const test_llm_schema_3_1_TypeTagType = _test_llm_schema({ model: "3.1", name: "TypeTagType", -})(typia.llm.schema()); +})(typia.llm.schema({})); diff --git a/test/src/internal/_test_llm_parameters.ts b/test/src/internal/_test_llm_parameters.ts new file mode 100644 index 0000000000..9879bd8d97 --- /dev/null +++ b/test/src/internal/_test_llm_parameters.ts @@ -0,0 +1,45 @@ +import { ILlmApplication } from "@samchon/openapi"; +import fs from "fs"; + +export const _test_llm_parameters = + (props: { + model: Model; + name: string; + }) => + ( + expected: ILlmApplication["functions"][number]["parameters"], + ): void => { + const actual: ILlmApplication< + Model, + any + >["functions"][number]["parameters"] = JSON.parse( + fs.readFileSync( + `${__dirname}/../../schemas/llm.parameters/${props.model}/${props.name}.json`, + "utf8", + ), + ); + sort(expected); + sort(actual); + }; + +function sort( + params: ILlmApplication["functions"][number]["parameters"], +): void { + function object(elem: object) { + for (const value of Object.values(elem)) iterate(value); + } + function array(elem: Array) { + for (const v of elem) iterate(v); + elem.sort((x, y) => { + const alpha = JSON.stringify(x); + const beta = JSON.stringify(y); + return alpha < beta ? -1 : alpha === beta ? 0 : 1; + }); + } + function iterate(elem: any) { + if (elem === null || elem === undefined) return; + else if (Array.isArray(elem)) array(elem); + else if (typeof elem === "object") object(elem); + } + iterate(params); +}